.ig
|
.. .TH ploticus 1 "11-MAR-2009 PLOTICUS ploticus.sourceforge.net" .SH Name ploticus \- data display package .SH Synopsis \fCploticus \-prefab \fIprefabname\fC \fIparm=value\fC .. [\fI-options\fR] .br \0.. OR .. .br \fCploticus \fIscriptfile\fC [\fI-options\fC] .ig .. .ig .. .ig .. .SH Description \fBploticus\fR is the primary component of the .ig .. \0'ploticus' data display package .ig .. .LP \fBploticus\fR is a program that produces plots and charts from data, and produces results that can be viewed on web pages, paper, slides, or interactively on the screen. Standard types of plots may be done using .ig .. \0prefab plot templates .ig .. , or a user-developed .ig .. \0script file .ig .. may be supplied for greater flexibility and customization. \fBploticus\fR may be executed from the command line or .ig .. \0as a CGI program. .ig .. .LP For complete online docs and downloads see .ig .. \0http://ploticus.sourceforge.net .ig .. .ig .. .ig .. .SH Where to find examples See the various .ig .. \0prefab examples .ig .. \0. A large number of .ig .. \0script examples .ig .. are also available. Some .ig .. \0usage examples .ig .. are also shown below. .ig .. .ig .. .SH Command line arguments .LP Command line arguments may generally be given in any order. If there are arguments that you want to always have in effect, you can invoke them from a .ig .. \0config file. .ig .. Many settings can also be made dynamically from scripts via .ig .. \0proc settings .ig .. or .ig .. \0proc page. .ig .. Processing occurs in this order: first the config file is read; then command line args are processed (left to right); then .ig .. \0proc page .ig .. and/or .ig .. \0proc settings. .ig .. Later settings override earlier ones. .ig .. .ig .. .SH Basic command line options .LP \fB-prefab\fR .ig .. \fIprefabname\fR .IP \0 Produce a plot using a .ig .. \0prefab .ig .. plot template. \fIprefabname\fR identifies the template, eg. \fCcron\fR or \fCvbars\fR. Necessary parameters are supplied on the command line using the form \fIparm=value\fR. .ig .. .LP \fIscriptfile\fR .br \fB-f \fIscriptfile\fR .IP \0 names a .ig .. \0script file .ig .. that will be interpreted to produce results. Alternatively, \fB-stdin\fR may be used to indicate that script will be available on standard input. .ig .. .ig .. .LP \fIvariable\fC=\fIvalue\fR .IP \0 Declares the named \fIvariable\fR and sets it to the given \fIvalue\fR. This is a convenient way to pass information to prefabs and scripts. Variable names are case-sensitive. .br Example: \fCCUTDATE=10-31-98\fR .br sets the variable \fCCUTDATE\fR to \fC10-31-98\fR. .ig .. .LP \fB-o .ig .. \fIoutfile\fC | stdout\fR .IP \0 Specify a filename where the result will be written. No processing is applied to this name.. so the ending should be appropriate for the selected output format, eg. use \fC.png\fR for PNG files. If \fC-o stdout\fR is used, result will be sent to standard output. If \fB-o\fR is not specified, a .ig .. \0default output filename .ig .. will be used. .br Example: \fC-o fp001.png\fR .ig .. .LP \fB-dir .ig .. \fIdirname\fR .IP \0 Set ploticus' working directory to \fIdirname\fR. If used, this argument should be specified leftmost on the command line, since it affects evaluation of other args. .ig .. .ig .. .SH Result format options .LP (Availability depends on your ploticus configuration/build) .LP \fB-png \fR .ig .. PNG image .LP \fB-gif \fR .ig .. pseudo-GIF image .LP \fB-jpeg\fR .ig .. JPEG image .LP \fB-svg\fR or \fB-svgz\fR .ig .. .ig .. \0SVG .ig .. graphic. See also SVG / XML options below. .LP \fB-swf\fR .ig .. .ig .. \0SWF .ig .. (flash) result. .LP \fB-wbmp\fR .ig .. WBMP image .LP \fB-eps \fR .ig .. EPS (encapsulated PostScript) .LP \fB-ps \fR .ig .. paginated PostScript to stdout .LP \fB-x11 \fR .ig .. display on X11 screen .LP \fB-drawdump\fR \fIfilename\fR .ig .. produce no visible graphic; save a generic representation of the graphic result to a file. By using \fC-drawdump\fR and \fC-drawdumpa\fR you can easily .ig .. \0overlay or combine results from separate ploticus runs. .ig .. The drawdump file can be rendered later in any desired format, using this command: \fCploticus \-prefab draw dumpfile=\fIfilename\fR .ig .. or by using .ig .. \0proc drawcommands. .ig .. Drawdump capability is available in all builds. (2.30+) .LP \fB-drawdumpa\fR \fIfilename\fR .ig .. same as \fC-drawdump\fR but result is \fBappended\fR to file. .ig .. .ig .. .SH Clickable image maps and mouseover options .LP \fB-csmap\fR .IP \0 produce a .ig .. \0client-side clickable imagemap .ig .. to accompany a png, gif, or jpeg. These can be used for hyperlinks, and also for providing pop-up text labels that appear when the mouse passes over a region. By default, client-side map content is written to stdout. .ig .. .LP \fB-csmapdemo\fR .IP \0 Same as \fB-csmap\fR but all mapped regions are shown outlined in green, and a complete HTML chunk is produced which involves the output image name. .ig .. .LP \fB-mapfile\fR .ig .. \fIfilename\fC | stdout | stderr\fR .IP \0 explicitly name the output file containing the map info. The name may also be set in .ig .. \0proc page. .ig .. If a name is not specified, client-side image map info will be written to stdout; For SVG this parameter is not needed, since image map info is embedded in the SVG file. .ig .. .LP \fB-map\fR .IP \0 produce a .ig .. \0server-side clickable imagemap file .ig .. to accompany a png, gif, jpeg, or SVG. \fBNote: server-side maps are deprecated.\fR .ig .. .ig .. .SH Result sizing options .LP \fB-scale\fR .ig .. \fIsx\fR[,\fIsy\fR] .IP \0 Scale the final result. If one value is given, the result is scaled by this amount in both x and y. If two values are given, scaling in x and scaling in y may be done independently. A scale value of less than 1.0 reduces the size; an scale value of greater than 1.0 enlarges. Scaling is done relative to the origin (0,0) which is at the lower left. .br Example: \fC-scale 0.7\fR .ig .. .LP \fB-pagesize\fR .ig .. \fIwidth,height\fR .IP \0 Sets the pre-crop size of the result image for GIF/PNG/JPEG, or sets the display window size when drawing to X11. On other output devices this option does nothing. \fIwidth\fR and \fIheight\fR are in .ig .. \0absolute units. .ig .. 0,0 is the lower left corner. If \-pagesize is not specified, the default size will be 8" x 8". Size is set before any drawing takes place and is unaffected by the \-scale option. .IP When rendering PNG/GIF/JPEG images, this option determines amount of internal memory allocation for accommodating the image. The result can never be bigger than this size, and any drawing outsize the bounds will not be visible. \fBTo create PNG/GIF/JPEG images larger than 8" x 8", this option MUST be specified to set a bigger size.\fR Cropping options (below) can be used along with \-pagesize as long as they result in a smaller rectangle than the pagesize; they take effect after all drawing has been completed. .IP \fB-pagesize\fR has no effect with EPS or paginated PostScript results (the PostScript BoundingBox will be determined by the extent of the graphic). .IP Example: \fC\-pagesize 7,3\fR .ig .. .LP \fB-tightcrop\fR .IP \0 For image or EPS output, crop the result tightly to the extent of the design. Normally a small margin is allowed on all four sides. This option sometimes crops a bit too tight; if so try \fB-croprel\fR. .ig .. .LP \fB-crop\fR .ig .. \fIx1,y1,x2,y2\fR .IP \0 Crop image or EPS result to the box specified by \fIx1,y1\fR and \fIx2,y2\fR, in .ig .. \0absolute units. .ig .. Note that there may be no spaces in the coordinates specification. Cropping takes place after design is rendered and does not affect coordinate locations. .br Example: \fC-crop 1.2,0.8,4.4,5.2\fR .ig .. .LP \fB-croprel\fR .ig .. \fIleft,bottom,right,top\fR .IP \0 Crop image or EPS result tightly to the extent of the design (like \fB-tightcrop\fR), but then adjust the cropping outward or inward on one or more sides. \fIleft\fR is the amount to adjust the left side, in .ig .. \0absolute units. .ig .. Similarly for \fIbottom\fR, \fIright\fR, and \fItop\fR. Positive values always adjust outward from center; negative values adjust inward (tighter). There may be no spaces in the \fIleft,bottom,right,top\fR specification. Cropping takes place after design is rendered and does not affect coordinate locations. .br Example: \fC-croprel 0,\-0.1,0,0.1\fR .ig .. .LP \fB-pixsize\fR .ig .. \fIwidth,height\fR .IP \0 If specified, result PNG/GIF/JPG image will be created at exactly this width and height in pixels. Does not interact with scaling or cropping... user is responsible for ensuring that content fits appropriately into the specified size. User is also responsible for setting \-pagesize appropriately for larger images. New in 2.40 .ig .. .ig .. .SH Graphics environment options .LP \fB-font\fR .ig .. \fIfont\fR .IP \0 sets the overall font to \fIfont\fR. See .ig .. \0fonts .ig .. for more info. .ig .. .LP \fB-textsize\fR .ig .. \fIpointsize\fR .IP \0 sets the overall default textsize to \fIpointsize\fR. All embedded size specifications will be rendered relative to this. .ig .. .LP \fB-linewidth\fR .ig .. \fIw\fR .IP \0 sets the overall default linewidth to \fIw\fR. All embedded line width specifications will be rendered relative to this. See linedetails(pli) for more on line width. .ig .. .LP \fB-color\fR .ig .. .ig .. \0color .ig .. .IP \0 sets the overall default text and line drawing color to \fIcolor\fR. .ig .. .LP \fB-backcolor\fR .ig .. .ig .. \0color .ig .. .IP \0 sets the background color to \fIcolor\fR. .ig .. .ig .. .LP \fB-cm\fR .ig .. .IP \0 Use centimeters as your absolute units, instead of inches. On the command line this must appear to the left of any arguments dealing with absolute unit values, such as \-pagesize. Centimeter absolute units can also be set via .ig .. \0proc settings. .ig .. If cm will always be the desired absolute units, the preferred way to achieve this is by using \fCunits: cm\fR in a .ig .. \0ploticus config file. .ig .. .ig .. .LP \fB-inches\fR .IP \0 Use inches as your absolute units. This is the default. .ig .. .LP \fB-outlabel\fR .ig .. \fIlabel\fR .IP \0 Set the label or title for the output. For X11 this sets the window title; for PostScript and SVG it sets the \fC%%Title\fR attribute. .ig .. .ig .. .SH Capacity setting options These options (new with version 2.10) allow capacities to be raised for accomodation of very large data sets, or lowered to minimize memory usage. The defaults in this section are defined in \fCpl.h\fR. .LP \fB-maxrows .ig .. \fInrows\fR .IP \0 Set the capacity for data rows to \fInrows\fR. Default \fInrows\fR is 10,000. Ploticus will allocate one pointer for each row. .ig .. .LP \fB-maxfields .ig .. \fInfields\fR .IP \0 Set the capacity for data fields to \fInfields\fR. Default \fInfields\fR is 200,000. Ploticus will allocate one pointer for each field. .ig .. .LP \fB-maxproclines .ig .. \fInlines\fR .IP \0 Set the capacity for script lines for active procs to \fInlines\fR. Default \fInlines\fR is 5000. Active procs are the current proc, all \fC#save\fRd procs, and all proc getdata procs that contain embedded \fCdata\fR. Ploticus will allocate one pointer for each line in each active proc. .ig .. .LP \fB-maxvector .ig .. \fIncells\fR .IP \0 Set the capacity for the data plotting vector to \fIncells\fR. Default \fIncells\fR is 100,000. The data plotting vector is an array which holds plottable values for situations where the values must be sorted or pre-screened for bad values. Ploticus will allocate one \fCdouble\fR value for each cell. .ig .. .LP \fB-maxdrawpoints .ig .. \fIn\fR .IP \0 Use this if you need to render a polygon having more than 500 points in PNG/GIF/JPEG, X11, or SWF, or any continuous line having more than 500 points in SWF. .ig .. .LP Note: raising the maximum number of categories may be done using .ig .. \0proc categories .ig .. from within the script. .ig .. .LP \fB-cpulimit\fR #Include nbsp2 \fIs\fR .IP \0 Set unix resource limit on cpu time to \fIs\fR seconds. Default is 30 seconds. New in 2.40 .ig .. .ig .. .SH SVG / XML options: .LP \fB-svg_tagparms\fR .ig .. \fIstring\fR .IP \0 This allows arbitrary \fCtext\fR to be inserted into the opening \fC |
data display engine Copyright Steve Grubb |
Ploticus is hosted at http://ploticus.sourceforge.net |