File: chart.man

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (57 lines) | stat: -rw-r--r-- 1,222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.TH chart 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
chart - Nichols chart
.SH CALLING SEQUENCE
.nf
chart([flags])
chart(gain [,flags])
chart(gain,phase [,flags])
.fi
.SH PARAMETERS
.TP 10
gain  
: real vector ( gains (in DB))
.TP 10
phase 
: real vector (phases (in degree))
.TP 10
flags
: a list of at most 4 flags list(sup [,leg [,cm [,cphi]]])
.RS
.TP
sup
: 1 indicates superposition on the previous plot
  0 no superposition is done
.TP
leg
: 1 indicates that legends are drawn, o: no legends
.TP
cm
: color number (see plot2d) for gain curves
.TP
cphi
:  color number (see plot2d) for phase curves
.RE
.SH DESCRIPTION
plot the Nichols'chart.
.LP
The default values for \fVgain\fR and \fVphase\fR are respectively :
.LP
\fV[-12 -8 -6 -5 -4 -3 -2 -1.4 -1 -.5 0.25 0.5 0.7 1 1.4 2 2.3 3 4 5 6 8 12]\fR
.LP
\fV[-(1:10) , -(20:10:160)]\fR
.SH EXAMPLE
.nf
s=poly(0,'s')
h=syslin('c',(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01))
black(h,0.01,100,'(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01)')
chart(list(1,0,2,3));
.fi
Another example :
.nf
xbasc()
h1=h*syslin('c',(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225))
black([h1;h],0.01,100,['h1';'h'])
chart([-8 -6 -4],[80 120],list(1,0));
.fi