Next: piechart() Up: Graphics Macros Help File Previous: panelplot()   Contents

panel_graphs

Usage:
panelplot(x,y,...)       draw a plot in a pane of a panel graph
panelhist(x,...)         draw a histogram in a pane of a panel graph
plotmatrix(x [,y], ...)  draw a panel graph containing a scatter plot
                         matrix
plotpanes(x, y, ...)     draw a panel graph containing plots of columns
                         of y against the corresponding column of x.



Keywords: panel graphs
A panel graph is a rectagular array of "panes", each of which may
contain a small graph.  The small graphs lack tick marks and any
information as to the actual values plotted other than axes (x = 0
and/or y = 0 lines).

A panel graph consists of h horizontal strips (rows) and v vertical
strips (columns).

A panel graph is scaled so the left edge is the line x = 0, the bottom
edge is the line y = 0, the right edge is the line x = v and the top
edge is the line y = h.

x and y values for each plot are transformed by
  x -> (x - (max(x)+min(x))/2)/(1.05*(max(x)-min(x)))
and
  y -> (y - (max(y)+min(y))/2)/(1.05*(max(y)-min(y)))
and then centered in a pane.  This leaves a little space between
the plotted points and the edges of the pane.

There are several macros that draw panel graphs.
  panelplot(x,y,...)       draw a plot in a pane of a panel graph
  panelhist(x,...)         draw a histogram in a pane of a panel graph
  plotmatrix(x [,y], ...)  draw a panel graph containing a scatter plot
                           matrix
  plotpanes(x, y, ...)    draw a panel graph containing plots of each
                           column of y against the corresponding column
                           of x.

Each has its own help entry.

Keyword phrase 'hstrips:h,vstrips:v' are required on panelhist() and
panelplot() and are optional on plotmatrix() and plotpanes().

These macros recognize most of the usual graphics keywords such as
'title', 'xlab', 'show' and 'window'.  Exceptions include 'logx',
'logy' and any keywords having to do with tickmarks.

When using panelplot() or panelhist() to add a plot to an existing panel
graph, you must use 'add:T'.

When graphics keywords 'xmin', 'ymin', 'xmin' or 'xmax' are used as
arguments to macros drawing panel graphs, their values replace the
extremes of x and/or y in scaling data and values outside the limits
are omitted.

See also plotmatrix(), plotpanes(), panelhist() and panelplot().


Gary Oehlert 2003-01-15