Contents     Functions         Previous Next     PDF Index



Pole line plots and other plot enhancement utilities.





Generation of zoomable vertical lines with clickable information.

ii_plp(po) will plot vertical dotted lines indicating the pole frequencies of complex poles in po and dashed lines at the frequencies of real poles. The poles po can be specified in any of the 3 accepted formats (see ii_pof).

When you click on these lines, a text object indicating the properties of the current pole is created. You can delete this object by clicking on it. When the lines are part of iiplot axes, clicking on a pole line changes the current pole and updates any axis that is associated to a pole number (local Nyquist, residue and error plots, see iiplot).

.ID PoleLine Call from iiplot

When displaying a curve in iiplot, one can generate automatic calls to ii_plp. Curve.ID field can be used to generate automatically vertical lines in iiplot. It is a cell array with as many cell as line sets. Each cell is a data structure defining the line set. Following fields can be defined:


Dynamic multi-line legend generation used by iiplot and feplot

ii_plp('legend',ga,prop) with properties a cell array detailed with in comgui def.Legend (typical legend generation associated with FEM solutions).

ii_plp('legend -corner .01 .01 -reset ',ga,ua,StringCell,legProp) is an older format found in some calls, with ga handle to the axis where the axes is to be placed, see gca. ua if not empty provides additional properties .legProp, .Corner.


Generate subsampled markers.


figure(1); ii_plp('spy',k)' Generates a spy plot with color coding associated with the non-zero element values of matrix k.

To perform block-wise spy plots of a single matrix, it is possible to provide matrix k as a structure with fields


SDT implements a general mechanism for enhancing the basic dynamic tick label generation of MATLAB. This allows placement of strings are proper locations on an axis. ii_plp('TickFcn') list predefined ticks.

This functionality is not fully documented and you are encouraged to look-up the source code. SDT generated plots expect the following fields in the axis userdata ua.TickInfo for data and ua.TickFcn for the callback. A sample usage would be

C1=struct('X',{{num2cell(2:4)' 2}},'Xlab',{{'x','y'}}, ...
C1=ii_plp('tickXCell',C1); %Defines the PlotInfo


FEM oriented color maps. fecom('colormapjet(5)') generates a map with 5 colors and grey level bands. This is called using

ii_plp('ColormapFireIce 20')

ii_plp('ColorMap') with no argument opens the tag list for colormap thus showing the currently available maps.

See also

ii_pof, idopt, iiplot, iicom

©1991-2014 by SDTools
Previous Up Next