Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - English


zgrid plot


zgrid(zeta, wn)
zgrid('new', zeta, wn)
zgrid(zeta, wn, 'new')
zgrid(.., colors)



array of damping factors. Only values in [0 1] are taken into account. The default value is 0:0.1:1.


array of normalized natural frequencies (factors of π/dt). Only values in [0 1] are taken into account. The default value is 0:0.1:1.


a scalar or an 2 element array with integer values (color index).


plots z-plane grid lines: lines of constant damping factor (selection given by zeta) and natural frequency (selection given by wn) are drawn in within the unit Z-plane circle.

Iso-frequency curves are shown in on the interval [0,%pi/dt].

The colors argument may be used to assign a color for constant damping ratio curves (colors(2)) and for frequency curves (colors(1)).

The zgrid function is often used to draw a grid for evens root locus of continuous time linear systems. In such a case the zgrid function should be called after the call to evans. For continuous time linear systems one should use sgrid function instead.

The optional argument 'new' can be used to erase the graphic window before plotting the grid.


clf();zgrid(0:0.2:1,[0.2 0.6 0.8 1])

//zgrid with discrete time system  root locus

See also

  • evans — Evans root locus
  • sgrid — draws a s-plane grid
  • freson — peak frequencies
  • datatips — Tool for placing and editing tips along the plotted curves
Report an issue
<< st_ility Stability Time Domain >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Mar 07 09:28:44 CET 2023