This is used internally by most plotting functions.
plotDataFrame(
frame,
params,
style = "line",
xlab = waiver(),
ylab = waiver(),
xtrans = "identity",
ytrans = "identity",
y_ticks = 6,
highlight = NULL,
legend_var = NULL,
wrap_var = NULL,
wrap_scale = NULL
)
A ggplot2 object
A data frame with at least three variables. The first three variables are used, in that order, as:
Variable to be plotted on x-axis
Variable to be plotted on y-axis
Grouping variable
A MizerParams object, which is used for the line colours and line types.
The style of the plot. Available options are "line' for geom_line and "area" for geom_area. Default is "line".
Label for the x-axis
Label for the y-axis
Transformation for the x-axis. Often "log10" may be useful instead of the default of "identity".
Transformation for the y-axis.
The approximate number of ticks desired on the y axis
Name or vector of names of the species to be highlighted.
The name of the variable that should be used in the legend and to determine the line style. If NULL then the grouping variable is used for this purpose.
Optional. The name of the variable that should be used for creating wrapped facets.
Optional. Used to pass the scales argument to facet_wrap().