Stackplot plotting method for objects of class mrs_data.
# S3 method for mrs_data
stackplot(
x,
xlim = NULL,
mode = "re",
x_units = NULL,
fd = TRUE,
col = NULL,
x_offset = 0,
y_offset = 0,
dim = "dyn",
x_pos = NULL,
y_pos = NULL,
z_pos = NULL,
dyn = 1,
coil = 1,
bty = NULL,
labels = NULL,
lab_cex = 1,
right_marg = NULL,
bl_lty = NULL,
restore_def_par = TRUE,
...
)
object of class mrs_data.
the range of values to display on the x-axis, eg xlim = c(4,1).
representation of the complex numbers to be plotted, can be one of: "re", "im", "mod" or "arg".
the units to use for the x-axis, can be one of: "ppm", "hz", "points" or "seconds".
display data in the frequency-domain (default), or time-domain (logical).
set the colour of the line, eg col = rgb(1,0,0,0.5).
separate plots in the x-axis direction by this value. Default value is 0.
separate plots in the y-axis direction by this value.
the dimension to stack in the y-axis direction, can be one of: "dyn", "x", "y", "z" or "coil".
the x index to plot.
the y index to plot.
the z index to plot.
the dynamic index to plot.
the coil element number to plot.
option to draw a box around the plot. See ?par.
add labels to each data item.
label size.
change the size of the right plot margin.
linetype for the y = 0 baseline trace. A default value NULL results in no baseline being plotted.
restore default plotting par values after the plot has been made.
other arguments to pass to the matplot method.