- Scilab Online Help
- CACSD
- abcd
- abinv
- arhnk
- arl2
- arma
- arma2p
- armac
- armax
- armax1
- arsimul
- augment
- balreal
- bilin
- black
- bode
- bstap
- cainv
- calfrq
- canon
- ccontrg
- chart
- cls2dls
- colinout
- colregul
- cont_frm
- cont_mat
- contr
- contrss
- copfac
- csim
- ctr_gram
- dbphi
- dcf
- ddp
- des2ss
- des2tf
- dhinf
- dhnorm
- dscr
- dsimul
- dt_ility
- dtsi
- equil
- equil1
- evans
- feedback
- findABCD
- findAC
- findBD
- findBDK
- findR
- findx0BD
- flts
- fourplan
- frep2tf
- freq
- freson
- fspecg
- fstabst
- g_margin
- gainplot
- gamitg
- gcare
- gfare
- gfrancis
- gtild
- h2norm
- h_cl
- h_inf
- h_inf_st
- h_norm
- hallchart
- hankelsv
- hinf
- imrep2ss
- inistate
- invsyslin
- kpure
- krac2
- lcf
- leqr
- lft
- lin
- linf
- linfn
- linmeq
- lqe
- lqg
- lqg2stan
- lqg_ltr
- lqr
- ltitr
- m_circle
- macglov
- markp2ss
- minreal
- minss
- mucomp
- narsimul
- nehari
- nicholschart
- noisegen
- nyquist
- obs_gram
- obscont
- observer
- obsv_mat
- obsvss
- p_margin
- parrot
- pfss
- phasemag
- ppol
- prbs_a
- projsl
- reglin
- repfreq
- ric_desc
- ricc
- riccati
- routh_t
- rowinout
- rowregul
- rtitr
- sensi
- sgrid
- show_margins
- sident
- sm2des
- sm2ss
- sorder
- specfact
- ss2des
- ss2ss
- ss2tf
- st_ility
- stabil
- svplot
- sysfact
- syssize
- tf2des
- tf2ss
- time_id
- trzeros
- ui_observer
- unobs
- zeropen
- zgrid
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
sgrid
s-plane grid lines.
Calling Sequence
sgrid() sgrid(zeta,wn [,colors]) sgrid(['new',] zeta,wn [,colors]) sgrid(zeta,wn [,'new'] [,colors])
Arguments
- zeta
array of damping factors. Only values in
[0 1]
are taken into account. The default value is[0 0.16 0.34 0.5 0.64 0.76 0.86 0.94 0.985 1]
.- wn
array of natural frequencies in Hz. only positive values are taken into account. If not given it is computed by the program to fit with the boundaries of the plot.
- colors
a scalar or an 2 element array with integer values (color index).
Description
Plots selected curves of constant damping ratio (selection given
by zeta
) and constant natural frequency
(selection given by wn
).
The colors
argument may be used to assign a
color for constant damping ratio curves
(colors(2)
) and for constant natural
frequency curves (colors(1)
).
The sgrid
function is often used to draw a grid
for evens root locus of continuous time linear systems. In such a
case the sgrid
function should be called after
the call to evans. For discrete time linear
systems one should use zgrid function instead.
The optional argument 'new'
can be used to
erase the graphic window before plotting the grid.
<< sensi | CACSD | show_margins >> |