12
12
H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
15
<title>ploticus: pl(1)</title>
15
<title>ploticus: ploticus(1)</title>
16
16
<body bgcolor=D0D0EE vlink=0000FF>
20
20
<table cellpadding=2 bgcolor=FFFFFF width=550><tr>
22
22
<table cellpadding=2 width=550><tr>
23
<td><br><h2>pl(1)</h2></td>
23
<td><br><h2>ploticus(1)</h2></td>
26
26
<a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
35
.TH pl(1) PL "11-MAR-2009 PL ploticus.sourceforge.net"
35
.TH ploticus 1 "11-MAR-2009 PLOTICUS ploticus.sourceforge.net"
38
ploticus \- data display package
41
\fCpl -prefab \fIprefabname\fC \fIparm=value\fC .. [\fI-options\fR]
41
\fCploticus \-prefab \fIprefabname\fC \fIparm=value\fC .. [\fI-options\fR]
45
\fCpl \fIscriptfile\fC [\fI-options\fC]
45
\fCploticus \fIscriptfile\fC [\fI-options\fC]
95
\fBpl\fR is a program that produces plots and charts from data, and
95
\fBploticus\fR is a program that produces plots and charts from data, and
96
96
produces results that can be viewed on web pages, paper, slides,
97
97
or interactively on the screen. Standard types of plots may be
437
437
<a href="prefabs.html#drawdump">
439
\0overlay or combine results from separate pl runs.
439
\0overlay or combine results from separate ploticus runs.
443
443
The drawdump file can be rendered later in any desired format, using this command:
444
\fCpl -prefab draw dumpfile=\fIfilename\fR
444
\fCploticus \-prefab draw dumpfile=\fIfilename\fR
586
586
0,0 is the lower left corner.
587
If -pagesize is not specified, the default size will be 8" x 8".
588
Size is set before any drawing takes place and is unaffected by the -scale option.
587
If \-pagesize is not specified, the default size will be 8" x 8".
588
Size is set before any drawing takes place and is unaffected by the \-scale option.
590
590
When rendering PNG/GIF/JPEG images, this option determines amount of internal memory allocation for accommodating the image.
591
591
The result can never be bigger than this size, and any drawing outsize the bounds will not be visible.
592
592
\fBTo create PNG/GIF/JPEG images larger than 8" x 8", this option MUST be specified to set a bigger size.\fR
593
Cropping options (below) can be used along with -pagesize as long as they result in a smaller rectangle
593
Cropping options (below) can be used along with \-pagesize as long as they result in a smaller rectangle
594
594
than the pagesize; they take effect after all drawing has been completed.
596
596
\fB-pagesize\fR has no effect with EPS or paginated PostScript results (the PostScript
597
597
BoundingBox will be determined by the extent of the graphic).
599
Example: \fC-pagesize 7,3\fR
599
Example: \fC\-pagesize 7,3\fR
663
663
Cropping takes place after design is rendered and does not
664
664
affect coordinate locations.
666
Example: \fC-croprel 0,-0.1,0,0.1\fR
666
Example: \fC-croprel 0,\-0.1,0,0.1\fR
679
679
If specified, result PNG/GIF/JPG image will be created at exactly this width and height in pixels.
680
680
Does not interact with scaling or cropping... user is responsible for ensuring that content fits appropriately into the specified size.
681
User is also responsible for setting -pagesize appropriately for larger images.
681
User is also responsible for setting \-pagesize appropriately for larger images.
790
790
Use centimeters as your absolute units, instead of inches.
791
791
On the command line this must appear to the left of any arguments dealing with
792
absolute unit values, such as -pagesize.
792
absolute unit values, such as \-pagesize.
793
793
Centimeter absolute units can also be set via
795
795
<a href="../doc/settings.html">
1057
1057
included in the \fIcommand\fR. For example, if a GIF file is being
1058
1058
generated you might use this to invoke the xv utility: \fC-viewer xv\fR.
1059
1059
If PostScript is being generated you could use something like this to
1060
invoke the ghostview utility: \fC-viewer "gv -magstep -1"\fR.
1060
invoke the ghostview utility: \fC-viewer "gv \-magstep \-1"\fR.
1061
1061
The given command must be available on your system and locatable in
1062
1062
your command search path.
1063
1063
This option may not be used with \fC-o stdout\fR.
1292
\fCpl -prefab scat -png datafile=results.dat x=2 y=3\fR
1292
\fCploticus \-prefab scat \-png datafile=results.dat x=2 y=3\fR
1295
1295
The following examples assume
1296
1296
that you have a script file called \fClineplot1.p\fR.
1298
\fCpl -x lineplot1.p\fR = view on X11 screen
1300
\fCpl -png lineplot1.p\fR = create PNG image lineplot1.png
1302
\fCpl -gif lineplot1.p -o stdout\fR = create GIF image on standard output
1304
\fCpl -gif lineplot1.p -viewer xv\fR = produce GIF and view using xv
1298
\fCploticus \-x lineplot1.p\fR = view on X11 screen
1300
\fCploticus \-png lineplot1.p\fR = create PNG image lineplot1.png
1302
\fCploticus \-gif lineplot1.p \-o stdout\fR = create GIF image on standard output
1304
\fCploticus \-gif lineplot1.p \-viewer xv\fR = produce GIF and view using xv
1305
1305
(assuming xv image viewer is available on your system).
1307
\fCpl -eps lineplot1.p\fR = produce EPS file lineplot1.eps
1307
\fCploticus \-eps lineplot1.p\fR = produce EPS file lineplot1.eps
1309
\fCpl -eps lineplot1.p -viewer gv\fR = produce EPS and view using gv
1309
\fCploticus \-eps lineplot1.p \-viewer gv\fR = produce EPS and view using gv
1310
1310
(that's ghostview, assuming it is available on your system).
1312
\fCpl -eps lineplot1.p -o lineplot.eps\fR = produce EPS into file lineplot.eps
1312
\fCploticus \-eps lineplot1.p \-o lineplot.eps\fR = produce EPS into file lineplot.eps
1314
\fCpl -ps lineplot1.p | lp\fR = produce paginated postscript and send to
1314
\fCploticus \-ps lineplot1.p | lp\fR = produce paginated postscript and send to
1315
1315
unix lp print spooler.
1317
\fCpl -ps lineplot1.p -veiwer gv\fR = produce paginated postscript
1317
\fCploticus \-ps lineplot1.p \-veiwer gv\fR = produce paginated postscript
1318
1318
and view using ghostview.
1362
1362
\fBLC_CTYPE\fR, \fBLC_COLLATE\fR, \fBLANG\fR
1364
1364
Locale support. Thanks to Oleg Bartunov oleg@sai.msu.su
1365
for contributing this. \fBpl\fR must be
1366
built with -DLOCALE for this to work.
1365
for contributing this. \fBploticus\fR must be
1366
built with \-DLOCALE for this to work.