Name

plotc — plots a complex signal in 2D projection with variable projection angle.

Calling Sequence

   plotc
   

Description

The angle can be modified at any time using the slider: slider at bottom: angle=0 the projection is the real part of the signal slider at 1/4: angle=pi/2 the projection is the imaginary part of the signal slider at top: angle=2pi same as 0

Additionally, the user can choose to lock the axes or not when the angle is changed through the axes context menu. Note that the latter is disabled when tools from the figure toolbar (zoom,...) are selected.

multiple uses of plotc in the same axes are possible: it produces only one slider that controls all the plots.

Examples

s = rand(1,512,'normal')+%i*rand(1,512,'normal');
plotc(1:length(s),s);
s2 = rand(1,512,'normal')+%i*rand(1,512,'normal');
plotc(1:length(s2),s2,'r');
   

See also

plot3c

Authors

H. Nahrstaedt - Aug 2010
G. Rilling, last modification 3.2007
gabriel.rilling@ens-lyon.fr