| plotIRS | R Documentation |
plotIRS no return values.
plotIRS(
dat,
xvar = "deltaT",
yvar = "Pchange",
xlab = expression(paste(plain("Temperature change ("), degree, plain("C)"))),
ylab = "Precipitation change (%)",
var = "grain_DM",
add = FALSE,
col = "black",
lty = 1,
lwd = 1,
title = NA,
levels = NULL,
cex = 1,
labcex = 0.6,
drawlabels = TRUE,
colSc = "normal",
xlim = NULL,
ylim = NULL,
xaxt = "s",
yaxt = "s",
legend = FALSE,
contours = TRUE,
stippled = TRUE
)
dat |
data.table object that contains three columns for x-, y- and z-dimension |
xvar |
Column name for the x-axis |
yvar |
Column name for the y-axis |
xlab |
x-axis label text |
ylab |
y-axis label text |
add |
if FALSE, starts a new plot, if TRUE, plots ontop on the current device |
col |
colour of contour lines, if NA, no contours are plotted |
lty |
line type of contour lines |
lwd |
line width of contour lines |
title |
plot title |
levels |
levels for contour lines |
cex |
font size |
labcex |
font size for contour labels |
colSc |
colour scheme defined in |
xlim |
Ranges of the x- and y-axes to plot (defaults to the range specified in dat$xvar and dat$yvar) |
ylim |
Ranges of the x- and y-axes to plot (defaults to the range specified in dat$xvar and dat$yvar) |
legend |
if true adds a legend to the plot |
contours |
if true plots data as contours; if false, plots the data as a grid; can also be used with transparent colour plotted on top of filled contour plots, e.g. |
stippled |
if contours==FALSE, plot selected grid cells as stippled or hatched area |
varn |
Column name for the z-axis |
Vector of the levels used for the plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.