| Mu Analysis and Synthesis Toolbox | Search  Help Desk |
| vzoom | Examples See Also |
Freeze plot axes by clicking mouse twice in plot window
Syntax
vzoom('axis')
Description
vzoom uses the MATLAB functionsginput and axis to freeze the axes by clicking the mouse twice in the plot window that defines minimum and maximum values for x and y. The clicking may be done in any order.
The axis argument specifies the type of graph, and can select between the various logarithmic or linear graph types, just as in vplot. Unlike vplot, the axis argument is not optional. The axis specification choices are:vplot, with the addition of the last four possibilities. The function is not defined for 'bode'.
Examples
The commandvzoom('liv,m') would be equivalent to
[x,y] = ginput(2); axis([log10([min(x) max(x)]) min(y) max(y)]);An example of the use of vzoom is
tf = frsp(nd2sys([ 1 .1],[.1 1]),logspace(-2,2,100));
vplot('nic',tf); vzoom('nic'); vplot('nic',tf); axis;
See Also
axis, ginput, vplot