plinit
initialize the system
parameter | type | units | description |
---|---|---|---|
driver | int | -- | plotter driver, currently PS, PSL, PDF, PDFL or X |
file | char* | -- | plotfile name, stdout if empty, not used when driver is X |
xsize,ysize | float | mm | paper size |
xorg,yorg | float | mm | position of the origin relative to lower left of the paper |
initial_font | char* | -- | initial font name |
alternate_font | char* | -- | alternate font name |
returns: | void |
Description
plinit (re)initializes plot package. It chooses a new plotter driver. Currently three drivers are available:- PS
- portrait oriented PostScript
- PSL
- landscape oriented PostScript
- portrait oriented PDF
- PDFL
- landscape oriented PDF
- X
- for plotting on the screen (X-windows or VGA).
A0 | 841 | x | 1189 |
A1 | 594 | x | 841 |
A2 | 420 | x | 594 |
A3 | 297 | x | 420 |
A4 | 210 | x | 297 |
A5 | 146 | x | 210 |
A6 | 105 | x | 146 |
A7 | 74 | x | 105 |
AGB | AvantGarde-Book | HNO | Helvetica-Narrow-Oblique |
AGBO | AvantGarde-BookOblique | HO | Helvetica-Oblique |
AGD | AvantGarde-Demi | NCSB | NewCenturySchlbk-Bold |
AGDO | AvantGarde-DemiOblique | NCSBI | NewCenturySchlbk-BoldItalic |
BD | Bookman-Demi | NCSI | NewCenturySchlbk-Italic |
BDI | Bookman-DemiItalic | NCSR | NewCenturySchlbk-Roman |
BL | Bookman-Light | PB | Palatino-Bold |
BLI | Bookman-LightItalic | PBI | Palatino-BoldItalic |
C | Courier | PI | Palatino-Italic |
CB | Courier-Bold | PR | Palatino-Roman |
CBO | Courier-BoldOblique | S | Symbol |
CO | Courier-Oblique | TB | Times-Bold |
H | Helvetica | TBI | Times-BoldItalic |
HB | Helvetica-Bold | TI | Times-Italic |
HN | Helvetica-Narrow | TR | Times-Roman |
HNB | Helvetica-Narrow-Bold | ZCMI | ZapfChancery-MediumItalic |
HNBO | Helvetica-Narrow-BoldOblique | ZD | ZapfDingbats |