GLE Example: axisformat.gle


PDF file

size 10 10

set just tc hei 0.3 font texcmr
amove 5 10; write "Axis number formatting options"

set hei 0.25

amove -0.5 -0.5
begin graph
   size 9 9
   xaxis min 0  max 2*pi dticks pi/2 format "pi"
   yaxis min -1 max 1    dticks 1/4  format "frac"
   x2axis off
   y2axis off
end graph

amove 0.5 0.5
begin graph
   size 9 9
   xaxis min 1e-6 max 1e6 log format "eng 3 append \Omega" dticks 2
   yaxis min 1e-6 max 1e6 log format "sci 0 10 expdigits 2 expsign"
   x2axis off
   y2axis off
end graph

amove 1.5 1.5
begin graph
   size 9 9
   xaxis min 0 max 2000 dticks 500  format "eng 3 append g"
   yaxis min 0 max 1    dticks 0.25 format "fix 2"
   x2axis off
   y2axis off
end graph


return to examples page