home *** CD-ROM | disk | FTP | other *** search
-
- size 18 24
- set font psc
- set hei .3
- amove .2 .3
- text └²: 2
-
- !----------------------------------------------------------------------------
- ! Error Bars
- amove 0 14
- begin graph
- size 18 10
- xtitle "X ╫°▒Ω╓ß"
- title "╬≤ ▓ε ╟· ╧▀ ╩╛ ╥Γ ═╝"
- yaxis min 0 max 30
- let d1 = (sin(x)+1)*10+1 from 1 to 9 step 1
- let d2 = (cos(x)+1)*10+1 from 1.5 to 9.5 step 1
- dn lstyle 2
- d1 marker circle errup 30% errdown 1
- d2 marker fsquare err 30% errwidth .1
- end graph
- !----------------------------------------------------------------------------
- ! Silly axis settings
- amove 0 5
- begin graph
- size 18 9
- title "The main title"
- xaxis min 0 max 9 nofirst nolast
- xaxis hei .6 nticks 10 dsubticks .2
- xaxis lwidth .2 color red
- yaxis log min 1 max 10 lwidth .1
- y2axis min 3 max 3000
- y2side color blue lwidth 0
- y2ticks length .9 lwidth 0
- y2title "╢╘ ╩² ╫° ▒Ω (log)" hei .2
- x2axis off
- y2labels on
- let d1 = sin(x)*4+5 from 0 to 9
- dn line
- end graph
- !----------------------------------------------------------------------------
- ! Two Bar Graphs
- amove 0 0
- begin graph
- SIZE 9 5
- Title "╓▒ ╖╜ ═╝ └²:1"
- data test.dat
- bar d1,d2 fill green,blue
- fill x1,d1 color grey10
- end graph
- rmove 9 0
- begin graph
- SIZE 9 5
- Title "╓▒ ╖╜ ═╝ └²:2"
- data test.dat
- let d3 = d1+2
- let d4 = d2*1.2
- yaxis min 0 max 20
- bar d1,d2 fill grey10,grey50 width .3 dist .3
- bar d3,d4 from d1,d2 fill grey20,grey90 width .3 dist .3
- end graph
-