Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Postscript

...

output

...

in

...

Geocap

...

is

...

mainly

...

created

...

by

...

using

...

the

...

psc

...

command.

...

They

...

allow

...

VTK

...

data,

...

graphics

...

primitives,

...

text,

...

and

...

axis

...

to

...

appear

...

in

...

Postscript

...

format

...

for

...

later

...

output

...

to

...

a

...

hardcopy

...

device.

...

:= features} * *Conversion of all types of dataset and graphics, except gradient coloring* * *Flexible viewport setting on device* * *Axis. Parameters set by system (default) or by user* * *Text, where the user may specify font, size, rotation and position* * *Scaling to various formats* * *Graphics primitives such as points, lines and rectangles* * *Patterns* * *Very compact Postscript file using a compression filter* {info} 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 # Open a Postscript file # Draw something, e.g. a map and some axes # Close the postscript file {code}
Info
title
Main
Postscript
features
  • Conversion of all types of dataset and graphics, except gradient coloring
  • Flexible viewport setting on device
  • Axis. Parameters set by system (default) or by user
  • Text, where the user may specify font, size, rotation and position
  • Scaling to various formats
  • Graphics primitives such as points, lines and rectangles
  • Patterns
  • Very compact Postscript file using a compression filter

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
{code}

{pagebreak}