home *** CD-ROM | disk | FTP | other *** search
- set yrange [-40:40]
- set samples 8
- plot -20,-18,-16,-14,-4,-6,-8,-10
- set yrange [-1.4:1.4]
- set xrange [-3*pi:3*pi]
- set samples 90
- plot sin(x),sin(x+1),sin(x+2),sin(x+3)
- set yrange [-3:3]
- plot sin(x)**2+cos(x)**2,sin(x)**2,cos(x)**2
- plot cos(x), 3*exp(-x**2.0/3.0), -1/cos(x)**2
- normal(x) = 1/sqrt(2*pi)*exp(-x**2/(2*pi))
- set autoscale
- plot normal(x)
- set samples 360
- set yrange [-.2:.5]
- set function style impulse
- replot
- set xrange [-10:10]
- set autoscale
- set function style line
- set samples 160
-