home *** CD-ROM | disk | FTP | other *** search
- .de PP
- .sp 1;.ne 2
- .en
- .TH ListPlot 1 "AMIGA Manual" 5/15/90 "Duke University"
- .SH NAME
- ListPlot - a vanilla plotting filter
- .SH SYNOPSIS
- .B ListPlot
- [ options ]
- .SH DESCRIPTION
- .I ListPlot
- a simple 2D plotting filter based on the
- .I PLPLOT
- plotting library.
- .PP
- Its principle advantage is that it supports a variety of graphics
- devices.
- .PP
- .IR ListPlot
- reads from stdin and writes to stdout unless input and/or
- output files are specified on the command line.
- The program accepts a file of n-tuples. Each tuple consists of
- a sequence of space-separated numbers terminated with a newline.
- The first element of each tuple is assumed to be the independent
- variable. Each remaining element is plotted against the first to
- produce n-1 curves.
- .PP
- .IR ListPlot
- takes a number of command line arguments that may be
- used to control the appearance of the plots.
- Command line arguments are specified in the form
- .ti +10
- .IR variable=value
- .PP
- For a list of the arguments enter:
- .sp
- .ti +10
- ListPlot Help=All.
- .SH VARIABLES TYPES
- .ta
- .in 20
- .ta 20
- .ti -10
- .B Boolean
- @tvalues accept values such as
- .B true, false, yes, no, on, off, 0,
- and
- .B 1
- (ex. PlotColor=yes).
- .sp
- .ti -10
- .B String
- @tvalues expect the strings to entered as
- indicated and is case sensitive (ex. Domain=All).
- .sp
- .ti -10
- .B Dbl
- @tvalues expect real numbers (ex. AspectRatio=1.0).
- .sp
- .ti -10
- .B Interval
- @tvalues expect a pair of comma separated reals
- (ex. Range=-1.0,3.0).
- .sp
- .ti -10
- .B Set
- @tvalues expect a list of comma separated elements enclosed in
- curly braces ({}). (ex. LineStyle={MS,MMS,MSmmS})
- .sp
- .ti -10
- .B Rect
- @tvalues expect a list of comma separated numbers representing
- a diagonal from the lower-left corner to the upper-right corner
- (ex. ViewPort={0.1,0.3, 0.9,0.6}).
- .in 10
-
- .PP
- The title and label variables accept strings that include
- the following control sequences:
- .sp
- .in +10
- .B #u:
- move up to superscript (ended with
- .B #d
- )
- .br
- .B #d:
- move down to subscript (ended with
- .B #u
- )
- .br
- .B #b:
- backspace to allow overprinting
- .br
- .B ##:
- the number symbol
- .br
- .B #+:
- toggle overline mode
- .br
- .B #-:
- toggle underline mode
- .br
- .B #gx:
- Greek letter corresponding to Roman letter x
- .br
- .in -10
- .SH OPTIONS
- The currently available arguments are indicated below.
- .B Bold
- face arguments indicate that they should be entered
- exactly as shown.
- An '*' indicates that an arbitrary string may be given.
- A string with embedded spaces must be quoted.
-
- .in +10
- .ti -10
- .B AngularUnit=[ degrees | radians ]
- .br
- .I AngularUnit
- specifies the angular unit of measure
- used for polar plots. For angles in radians use
- .B AngularUnit=radians.
- .sp 1
- .ti -10
- .B AnnotationScale=[
- .I dbl
- .B ]
- .br
- .I AnnotationScale
- controls the size of the characters
- used to annotate the axes.
- .sp 1
- .ti -10
- .B AspectRatio=[
- .I dbl
- .B | Automatic ]
- .br
- .I AspectRatio
- controls the relative lengths of the vertical to horizontal axes.
- If set this value overrides the value of
- .I ViewPort.
- .sp 1
- .ti -10
- .B Boxed=[
- .I boolean
- .B | * ]
- .br
- .I Boxed
- adds axes to the edges of the plot.
- If
- .I Boxed
- is given a boolean value then axes are placed on
- all of the edges. If
- .I Boxed
- is given a string consisting
- of one or more of
- .I t, b, r, l
- then axes are added to
- top, bottom, right and left edges respectively.
- .sp 1
- .ti -10
- .B Domain=[
- .I interval
- .B | All | Automatic ]
- .br
- .I Domain
- may be used to specify the bounds on the X axis.
- When set to
- .B All,
- all points are plotted. When set to
- .B Automatic,
- outlying points may not be plotted.
- .sp 1
- .ti -10
- .B Gridding=[
- .I boolean
- .B ]
- .br
- .I Gridding
- puts a grid on the plot.
- .sp 1
- .ti -10
- .B Help=[ All | all | * ]
- .br
- .I Help
- provides some descriptive text for the user-settable
- plotting variables. If the variable
- .I Verbose
- is set then an extended description is provided. To set verbose enter
- .br
- .sp
- ListPlot Verbose=yes Help=[
- .I variable
- |
- .B All
- ].
- .sp 1
- .ti -10
- .B LabelScale=[
- .I dbl
- .B ]
- .br
- .I LabelScale
- specifies the relative size of the vertical and
- horizontal axis labels. The typical range is [0.5 - 2.0].
- .sp 1
- .ti -10
- .B LineColor=[
- .I set
- .B ]
- .br
- .I LineColor
- may be used to specify a list of line colors for
- plots with multiple curves if this feature is supported for
- a particular output device.
- .sp 1
- .ti -10
- .B LineStyle=[
- .I set
- .B ]
- .br
- .I LineStyle
- may be used to specify a list of line styles for
- plots with multiple curves. Each linestyle is specified as
- a sequence of pen down... pen up elements. The elements are encoded
- using the following characters to indicate element lengths:
- .in +10
- .br
- .B m:
- 250 micron mark
- .br
- .B M:
- 1mm mark
- .B (mmmm)
- .br
- .B s:
- 250 micron space
- .br
- .B S:
- 1mm space
- .B (ssss)
- .br
- .in -10
- For example, a set of line styles might be indicated
- .ti +10
- LineStyle={MS,MMSS,MMSmmS,mmS,mmSmmSMMS}
- .sp 1
- .ti -10
- .B Orientation=[ portrait | landscape ]
- .br
- .I Orientation
- controls whether the plot is displayed in
- landscape or portrait orientation.
- .sp 1
- .ti -10
- .B Origin=[
- .I interval
- .B | Automatic | Median ]
- .br
- .I Origin
- allows the placement of a set of axes at an
- arbitrary point.
- The
- .I Median
- value places the axes at the median
- .I X
- and the median
- .I Y
- of the data values.
- .sp 1
- .ti -10
- .B PlotColor=[
- .I boolean
- .B ]
- .br
- .I PlotColor
- if
- .B true
- causes the plot to generated in color if this
- feature is supported on a particular output device.
- .sp 1
- .ti -10
- .B PlotJoined=[
- .I boolean
- .B ]
- .br
- .I PlotJoined,
- if set, connects each data point with a line in the
- current line style.
- .sp 1
- .ti -10
- .B PlotPoints=[
- .I boolean
- .B ]
- .br
- .I PlotPoints
- if
- .B true
- causes symbols to be plotted in the current
- symbol style at each data point.
- .sp 1
- .ti -10
- .B PointScale=[
- .I dbl
- .B ]
- .br
- .I PointScale
- controls the relative size of the data point symbols
- when data point symbols are being plotted.
- .sp 1
- .ti -10
- .B PointSymbol=[ Automatic |
- .I set
- .B ]
- .br
- .I PointSymbol
- specifies a list of symbols to be used when plotting
- data points. The symbols types are encoded as integers.
- (See the
- .B PLPLOT
- library documentation to find the symbols available.)
- .sp 1
- .ti -10
- .B PlotTitle=[ * ]
- .br
- .I PlotTitle
- takes the plot title as an argument.
- Text control sequences described above may be included.
- .sp 1
- .ti -10
- .B PlotDevice=[amiga| printer | iff |
- .B hp | aegis | postscript]
- .br
- .I PlotDevice
- specifies output device type.
- .sp 1
- .ti -10
- .B PlotType=[ linlin | loglin |
- .B linlog | loglog | polar ]
- .br
- .I PlotType
- specifies the
- .I graph paper
- upon which the plot is drawn.
- The current implementation plots in
- .in +10
- .br
- linear-linear,
- .br
- log-linear,
- .br
- linear-log,
- .br
- log-log, and
- .br
- polar
- .br
- .in -10
- .sp
- formats.
- For the log type plots, the log of the data is computed.
- For polar plots, see also
- .I AngularUnit
- and
- .I PolarVariable.
- .sp 1
- .ti -10
- .B PolarVariable=[ angle | radius ]
- .br
- .I PolarVariable
- for polar plots is used to specify
- whether the independent variable is angular or radial.
- .sp 1
- .ti -10
- .B Range=[
- .I interval
- .B | All | Automatic ]
- .br
- .I Range
- specifies the y axis bounds. (ex. Range=-1,1 )
- When set to
- .B All,
- all points are plotted. When set to
- .B Automatic,
- outlying points may not be plotted.
- .sp 1
- .ti -10
- .B SubPages=[
- .I interval
- .B ]
- .br
- .I SubPages
- specifies the number of plots on a pages.
- This is a vestige of PLPLOT and I am not sure this has any use
- within the context of
- .I ListPlot.
- It might be useful for
- controlling the size of the plots but the
- .I ViewPort
- might be a more direct solution.
- .sp 1
- .ti -10
- .B SupplyAbscissa=[
- .I boolean
- .B ]
- .br
- .I SupplyAbscissa
- if set causes
- .I ListPlot
- to supply a value for the independent variable.
- .sp 1
- .ti -10
- .B TitleScale=[
- .I dbl
- .B ]
- .br
- .I TitleScale
- controls the relative size of the title text.
- .sp 1
- .ti -10
- .B UseInputFile=[ * ]
- .br
- .I UseInputFile
- permits the specification of an input file if you would rather not use stdin.
- .sp 1
- .ti -10
- .B UseOutputFile=[ * ]
- .br
- .I UseOutputFile
- permits the specification of an output file if
- you would rather not use stdout.
- .sp 1
- .ti -10
- .B Verbose=[
- .I boolean
- .B ]
- .br
- .I Verbose
- if set causes extended messaging.
- .sp 1
- .ti -10
- .B ViewPort=[
- .I rect
- .B ]
- .br
- .I ViewPort
- allows control over the size of a plot. Takes
- a viewing rectangle diagonal as an argument.
- .ti +10
- ex. ViewPort={0.1,0.3, 0.9,0.6}
- .sp 1
- .ti -10
- .B XLabel=[ * ]
- .br
- .I XLabel
- specifies X axis label. Text control sequences described
- above may be included.
- .sp 1
- .ti -10
- .B YLabel=[ * ]
- .br
- .I YLabel
- specifies Y axis label. Text control sequences described
- above may be included.
- .sp 1
- .ti -10
- .B XTick=[ Automatic |
- .I interval
- .B ]
- .br
- .I XTick
- controls the spacing of major axis ticks and the number
- of minor subdivisions. (ex.
- .I XTick=0.1,10
- indicates major ticks at units of 0.1 with 10 minor subdivisions.)
- .sp 1
- .ti -10
- .B YTick=[ Automatic |
- .I Interval
- .B ]
- .br
- .I YTick
- controls the spacing of major axis ticks and the number
- of minor subdivisions.
- .in -10
- .SH FILES
- .SH IDENTIFICATION
- Authors: Frederick R. Bartram and Anthony M. Richardson,
- Dept. of Electrical Engineering, Duke University, Durham, N.C. 27706.
- .sp 0
- InterNet: frb@@dukee.egr.duke.edu,amr@@dukee.egr.duke.edu
- .sp 0
- Copyright 1990 by Frederick R. Bartram and Anthony M. Richardson.
- .sp 0
- Amiga port by Anthony M. Richardson
- .SH BUGS
- Please report any bugs or unusual
- .I features
- to the authors.
-
-