next up previous contents
Next: Executing command files Up: File I/O Previous: Saving data structures into

PostScript printing

 

wrps Write a graphic structure into a PostScript file
-n <name> name of the graphic structure
-o <filename> name of the file
[-t <net | vec>] type of the graphic structure
[-x0 <origo-x>] x for the origo (bottom-left corner)
[-y0 <origo-y>] y for the origo (bottom-left corner)
[-w <width>] width of the figure (default is 500)
[-h <height>] height of the figure (default is 500)
[-fh <font-height>] height of the font (default is 14)

This command writes a graphic structure as PostScript into a file. In the current version, the PostScript printing is implemented for graphic structures, graphic frames and fuzzy graphs.

Example:

...
NDA> mkgrp grp1 -s s1
# Set the properties of the graphic structure here
NDA> wrps -n grp1 -o exam.ps -w 500 -h 500 -fh 14
...
NDA> mkgf -gf frm1
NDA> addgf -gf frm1 -g grp1
NDA> setgfplc -gf frm1 -g grp1 -x0 0.3 -y 0.3 -x1 0.8 -y 0.8
NDA> wrps -n frm1 -o frm.ps
...
NDA> mkfz fz1 -f zn
# Set the properties of the fuzzy display here
NDA> wrps -n fz1 -o fzexam.ps -w 500 -h 200 -fh 14
...



Anssi Lensu
Wed Oct 6 12:57:48 EET DST 1999