home *** CD-ROM | disk | FTP | other *** search
- [ trig.plt
-
- paper size 11 by 8.5
-
- color green
- samples 50
- map x -10 10
- draw x
- frame
- xlabel 'x'
- color lred
- plot sin(x),atan(x),cos(atan(x))
- color green
- draw y
- ylabel 'sin(x),atan(x),cos(atan(x))'
- title 'Trigonometric Functions I'
- pause 3
- clear
-
- samples 100
- color green
- map x -pi/2 pi
- frame
- draw x
- xlabel 'x'
- color lred
- plot cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))
- color green
- draw y
- ylabel 'cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))'
- color lblue
- title 'Trigonometric Functions II'
- pause 3
- clear
-
- samples 200
- map x -3 5
- color green
- draw x
- frame
- xlabel 'x'
- color lred
- plot asin(x),acos(x)
- color green
- draw y
- ylabel 'asin(x),acos(x)'
- color lblue
- title 'Trigonometric Functions III'
- pause 3
- clear
-
- map x -5*pi 5*pi y -5 5
- color green
- draw x y
- xlabel 'x'
- ylabel 'real(tan(x)/atan(x)), 1/x'
- color lred
- plot real(tan(x)/atan(x)), 1/x
- color lblue
- title 'Trigonometric Functions IV'
- frame
- pause 3
-
- clear
- samples 800
- map x -30 20
- color lred
- plot sin(x*20)*atan(x)
- color green
- frame
- draw x y
- xlabel 'x'
- ylabel 'sin(x*20)*atan(x)'
- color lblue
- title 'Trigonometric Functions V'