zgrid
Display an grid in the complex z-plane.
Control the display of z-plane grid with :
The function state input may be either "on"
or "off"
for creating or removing the grid. If omitted, a new grid is created
when it does not exist or the visibility of the current grid is toggled.
The zgrid will automatically plot the grid lines at nice values or at constant values specified by two arguments :
zgrid (Z, W) |
where Z and W are :
Example of usage:
zgrid on create the z-plane grid zgrid off remove the z-plane grid zgrid toggle the z-plane grid visibility zgrid ([0.3, 0.8, …], [0.25*pid, 0.5*pi, …]) create:
zgrid (hax, |
See also: grid, sgrid
Source Code: zgrid
clf; num = [1 0.25]; den = [1 -1.5 0]; sys = tf(num, den, 1); rlocus(sys,0.01,0,3.5); ylim([-1.1,1.1]); zgrid on; |