In this chapter, we describe advanced use of PLplot.
PLplot supports a large number of command line arguments, but it is
up to the user to pass these to PLplot for processing at the
beginning of execution. The function
plParseInternalOpts
is responsible for parsing
the argument list, removing all that are recognized by PLplot, and
taking the appropriate action before returning. There are an
extensive number of options available to affect this process. The
command line arguments recognized by PLplot are given by the -h
option:
% x01c -h Usage: ./x01c [options] PLplot options: -h Print out this message -v Print out the PLplot library version number -verbose Be more verbose than usual -debug Print debugging info (implies -verbose) -dev name Output device name -o name Output filename -display name X server to contact -px number Plots per page in x -py number Plots per page in y -geometry geom Window size, in pixels (e.g. -geometry 400x300) -wplt xl,yl,xr,yr Relative coordinates [0-1] of window into plot -mar margin Margin space in relative coordinates (0 to 0.5, def 0) -a aspect Page aspect ratio (def: same as output device) -jx justx Page justification in x (-0.5 to 0.5, def 0) -jy justy Page justification in y (-0.5 to 0.5, def 0) -ori orient Plot orientation (0,2=landscape, 1,3=portrait) -freeaspect Do not preserve aspect ratio on orientation swaps -width width Sets pen width (1 <= width <= 10) -bg color Background color (0=black, FFFFFF=white) -ncol0 n Number of colors to allocate in cmap 0 (upper bound) -ncol1 n Number of colors to allocate in cmap 1 (upper bound) -fam Create a family of output files -fsiz size Output family file size in MB (e.g. -fsiz 1.0) -fbeg number First family member number on output -finc number Increment between family members -fflen length Family member number minimum field width -nopixmap Don't use pixmaps in X-based drivers -db Double buffer X window output -np No pause between pages -server_name name Main window name of PLplot server (tk driver) -server_host name Host to run PLplot server on (dp driver) -server_port name Port to talk to PLplot server on (dp driver) -user name User name on remote node (dp driver) All parameters must be white-space delimited. Some options are driver dependent. Please see the PLplot reference document for more detail. |