Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While almost any kind of plotting feature can be created using the above features in combination with the Tcl programming language, most users will eventually expect a higher level interface; this task is currently being worked on.

The three steps goes like this

  1. Open a Postscript file
  2. Draw something, e.g. a map and some axes
  3. Close the postscript file
Code Block

win 0 100 0 100 0 100
psc format a4
psc open c:/tmp/elephant.ps
psc on
psc vie 0.1 0.1 0.9 0.9  ;# 10% margin
psc align center  ;# Center dataset frame with resp. to viewport

psc lwf 1
psc fontsize 0.3 cm
psc axes nsew incrx 10 incry 10

# Then draw something, i.e. a map

psc off
psc close