Initial release of Maemo 5 port of gnuplot
[gnuplot] / demo / tics.dem
1 #
2 # $Id: tics.dem,v 1.1 2005/08/05 15:53:23 mikulik Exp $
3 #
4 # demo for tics settings
5
6 set xlabel "x"
7 set ylabel "y"
8 set mxtics
9
10 set title "Default tics settings"
11 set xrange [-15:15]
12 set yrange [-0.25:1]
13 plot sin(sqrt(x**2))/sqrt(x**2) notitle
14 pause -1 "Hit return to continue"
15
16 set title "Different modification of tics settings"
17 set tics scale 3,2 rotate by 45
18 set xtics out offset 0,-1.0
19 replot
20 pause -1 "Hit return to continue"
21
22 set xtics textcolor rgb "red" norotate
23 set ytics rotate by 90 offset 2,0
24 replot
25 pause -1 "Hit return to continue"
26
27 set title "Modification of tics settings (pm3d map with colorbar)"
28 set pm3d map
29 set border 4095
30 set samples 25
31 set isosamples 20
32 set palette color positive
33 set samples 50; set isosamples 50
34 set tics norotate nooffset
35 set cbtics in scale 4
36 set xrange [-15:15]
37 set yrange [-15:15]
38 set zrange [-0.25:1]
39 splot sin(sqrt(x**2+y**2))/sqrt(x**2+y**2) notitle
40 pause -1 "Hit return to continue"
41
42 reset
43
44 print "End of tics demo."