2.2.specialist.panels | R Documentation |
In development specialist panel functions for polar plotting
panel.polarPlot(x = NULL, y = NULL, r = NULL, theta = NULL, ...,
data.panel = panel.loaPlot, loa.settings = FALSE,
plot = TRUE, process = TRUE)
#grid, axes and axes labelling
panel.polarFrame(..., grid = TRUE, axes = TRUE, labels = TRUE,
panel.scales = NULL, grid.panel = panel.polarGrid,
axes.panel = panel.polarAxes, labels.panel = panel.polarLabels)
panel.polarAxes(axes.theta = NULL, axes.r = NULL, thetalim = NULL,
rlim = NULL, ..., axes = NULL, panel.scales = NULL)
panel.polarGrid(grid.theta = NULL, grid.r = NULL,
thetalim = NULL, rlim = NULL, ..., grid = NULL,
panel.scales = NULL)
panel.polarLabels(labels.theta = NULL, labels.r = NULL,
thetalim = NULL, rlim = NULL, ..., labels = NULL,
panel.scales = NULL)
x , y |
The |
r , theta |
The equivalent polar coordinates of the plot
points. If these are not supplied, |
... |
Additional arguments, typically passed on. For
|
data.panel |
The panel to use to handle data once polar
coordinates have been checked for or generated. For
|
loa.settings , plot , process |
|
grid , axes , labels |
plot management options for the grid, axis
and axis label elements of the plot. These can be logicals ( |
panel.scales |
|
grid.panel , axes.panel , labels.panel |
Used by the |
axes.theta , axes.r , thetalim , rlim |
For |
grid.theta , grid.r |
Like |
labels.theta , labels.r |
Like |
The panel.polar...
series of the functions are intended for
use with loaPlot
.
panel.polarPlot
generates a 'bubble plot' style output on
polar coordinates. It generates axes and annonation within each
plot panel using the other panel functions.
panel.polarGrids
, panel.polarAxes
and panel.polarLabels
generate plot grid, axes and axes labelling elements of the plot.
panel.polarFrame
provides a wrapper for these plot elements.
Users can fine-tune axes, grids and labels by supplying additional arguments in plot calls, or replace these elements with purpose written functions to more completely modify plot appearance.
The panel.polar...
functions are intended to be used as the
panel
argument in loa
plot calls. So, e.g.:
a <- 1:360
loaPlot(a~a*a, panel=panel.polarPlot)
They can also be used with relatively simple lattice
plots.
However, some features of loa
plots managed by
panelPal
, e.g. default plot appearance management,
automatic grouping and panel and key alignment will not be available.
panel.polarPlot
is in-development. Function arguments may change.
Karl Ropkins
These function makes extensive use of code developed by others.
lattice: Sarkar, Deepayan (2008) Lattice: Multivariate Data Visualization with R. Springer, New York. ISBN 978-0-387-75968-5
In loa
: loaPlot
; and panelPal
.
In other packages: xyplot
in lattice
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.