=================================================================== RCS file: /home/cvs/OpenXM_contrib/gnuplot/demo/Attic/simple.dem,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.2 diff -u -p -r1.1.1.1 -r1.1.1.2 --- OpenXM_contrib/gnuplot/demo/Attic/simple.dem 2000/01/09 17:01:03 1.1.1.1 +++ OpenXM_contrib/gnuplot/demo/Attic/simple.dem 2000/01/22 14:16:08 1.1.1.2 @@ -1,19 +1,22 @@ # -# $Id: simple.dem,v 1.1.1.1 2000/01/09 17:01:03 maekawa Exp $ +# $Id: simple.dem,v 1.1.1.2 2000/01/22 14:16:08 maekawa Exp $ # # Requires data files "[123].dat" from this directory, # so change current working directory to this directory before running. # gnuplot> set term # gnuplot> load 'simple.dem' # +set key left box set samples 50 plot [-10:10] sin(x),atan(x),cos(atan(x)) pause -1 "Hit return to continue" +set key right nobox set samples 100 plot [-pi/2:pi] cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1)) pause -1 "Hit return to continue" +set key left box set samples 200 plot [-3:5] asin(x),acos(x) pause -1 "Hit return to continue" @@ -25,9 +28,11 @@ set samples 400 plot [-10:10] real(sin(x)**besj0(x)) pause -1 "Hit return to continue" +set key outside below plot [-5*pi:5*pi] [-5:5] real(tan(x)/atan(x)), 1/x pause -1 "Hit return to continue" +set key left box set autoscale set samples 800 plot [-30:20] sin(x*20)*atan(x) @@ -38,8 +43,5 @@ pause -1 "Hit return to continue" f(x) = x/100 plot [-19:19] '1.dat'with impulses ,'2.dat' thru f(x) ,'3.dat' with lines pause -1 "Hit return to continue" +reset -# undo what we have done above -set samples 160 -set xrange [-10:10] -set autoscale xy