Standard plots of fitted curves (objects returned by fitplc
, fitplcs
, fitcond
or fitconds
), with plenty of options for customization.
# S3 method for plcfit
plot(x, xlab = NULL, ylab = NULL, ylim = NULL,
pch = 19, plotPx = TRUE, plotci = TRUE, plotdata = TRUE,
plotfit = TRUE, add = FALSE, multiplier = NULL,
px_ci = c("bootstrap", "parametric", "none"),
px_ci_type = c("vertical", "horizontal"), px_ci_label = TRUE,
plotrandom = FALSE, pointcol = "black", linecol = "black",
linetype = 1, linelwd = 1, linecol2 = "blue", pxlinecol = "red",
pxcex = 0.7, citype = c("polygon", "lines"),
cicol = alpha("lightgrey", 0.8), what = c("relk", "PLC", "embol"),
selines = NULL, xaxis = c("positive", "negative"), ...)# S3 method for manyplcfit
plot(x, what = c("relk", "embol", "PLC"),
onepanel = FALSE, linecol = NULL, pointcol = NULL, pch = 19,
legend = TRUE, legendwhere = "topright", ...)
A fitted curve returned by fitplc
Optionally, X and Y axis labels (if not provided, a default is used).
Optionally, Y-axis limits.
Optionally, the plotting symbol (default = 19, filled circles)
Logical (default TRUE), whether to plot a vertical line for the P50.
Logical (default TRUE), whether to plot the confidence interval (if computed with bootci=TRUE).
Logical (default TRUE), whether to add the data to the plot.
Logical (default TRUE), whether to add the fitted curve to the plot.
Logical (default FALSE), whether to add the plot to a current device. This is useful to overlay two plots or curves, for example.
Multiply the scaled data (for plotting).
Option for the confidence interval around Px, either 'parametric' (confidence interval computed with confint
), 'bootstrap' (computed with non-parametric bootstrap) or 'none' (no plotting of the confidence interval) (formerly argument was called selines
)
Either 'vertical' (default), or 'horizontal', to plot confidence limits for Px.
Logical (default TRUE), whether to write a label next to the CI for Px.
Logical. If TRUE (the default is FALSE), plots the predictions for the random effects (only if random effects were included in the model fit).
The color(s) of the data points.
The color(s) of the fitted curve (or color of the random effects curves if plotrandom=TRUE).
Line type for fitted curve (see options for lty
in par
).
Width of the line (see options for lwd
in par
).
The color of the fixed effects curve (if plotrandom=TRUE; otherwise ignored).
The color of the lines indicating Px and its confidence interval
Character size for the Px label above the Y-axis.
Either 'polygon' (default), or 'lines', specifying formatting of the confidence interval in the plot.
The color of the confidence interval band (if plotted).
Either 'relk' or 'PLC' (or synonym 'embol'); it will plot either relative conductivity or percent loss conductivity (percent embolism).
Obsolete; use px_ci
Either 'positive' (default), so that water potential is plotted as positive values, or 'negative', plotting negative-valued water potentials.
Further parameters passed to plot
, or points
(when add=TRUE
)
For plotting of many curve fits, plot all curves in one panel (TRUE) or in separate panels (FALSE)
(for fitconds and fitplcs only) Logical (default TRUE), whether to include a simple legend when plotting multiple fits
(for fitconds and fitplcs only) As in legend
, specification of where to place legend (e.g. 'bottomleft'; coordinates not accepted)