Description Usage Arguments Details Value polygonTile-specific parameters Author(s) See Also
Initializes a polygon graphic for inclusion in a tile plot.
1 |
... |
Any
number of arguments given below. Must include exactly one horizontal
dimension ( |
This function does no plotting; instead, it creates a polygonTile
object, or trace of plotting data, to be drawn on one or more
plots in a tiled arrangement of plots. To complete the drawing
include the object as an input to tile
. From
tile
, it is possible to set further options including plot
and axis titles, axis ranges and labels, logged axes, and
annotations to the plot.
polygonTile
simply creates a shaded region or polygon to add
to a tile
plot. It serves as the tile
equivalent to the base graphics polygon
or grid graphics
polygonGrob
, and is primarily useful for annotating plots
which also use other traces.
To plot polygons to a location outside the plotting area, users might
try combining clip="off"
, with coordinates
placing the polygon in the desired spot.
A polygonTile
object, used only as an input to tile
.
A call to polygonTile
must provide an orthogonal pair of the
following inputs:
x
coordinate vector of vertices to plot, attached to the x axis.
y
coordinate vector of vertices to plot, attached to the y axis.
top
coordinate vector of vertices to plot, attached to the top axis.
right
coordinate vector of vertices to plot, attached to the right axis.
Users will often wish to provide the following input:
plot
scalar or vector, the plot(s) in which this trace will be drawn; defaulting to the first plot. Plots are numbered consecutively from the top left, row-by-row. Thus in a 2 x 3 tiling, the first plot in the second row is plot number 4.
In addition to these polygonTile
-specific parameters, users may provide any of the generic tile parameters documented in pointsTile
.
Christopher Adolph cadolph@u.washington.edu
tile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.