This is used internally by most plotting functions.

plotDataFrame(
  frame,
  params,
  xlab = waiver(),
  ylab = waiver(),
  xtrans = "identity",
  ytrans = "identity",
  y_ticks = 6,
  highlight = NULL,
  legend_var = NULL,
  wrap_var = NULL
)

Arguments

frame

A data frame with at least three variables. The first three variables are used, in that order, as:

  1. Variable to be plotted on x-axis

  2. Variable to be plotted on y-axis

  3. Grouping variable

params

A MizerParams object, which is used for the line colours and line types.

xlab

Label for the x-axis

ylab

Label for the y-axis

xtrans

Transformation for the x-axis. Often "log10" may be useful instead of the default of "identity".

ytrans

Transformation for the y-axis.

y_ticks

The approximate number of ticks desired on the y axis

highlight

Name or vector of names of the species to be highlighted.

legend_var

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.

wrap_var

Optional. The name of the variable that should be used for creating wrapped facets.