Image plot method for objects of class mrs_data.
# S3 method for class 'mrs_data'
image(
x,
xlim = NULL,
mode = "re",
col = NULL,
plot_dim = NULL,
x_pos = NULL,
y_pos = NULL,
z_pos = NULL,
dyn = 1,
coil = 1,
restore_def_par = TRUE,
y_ticks = NULL,
hline = NULL,
hline_lty = 2,
hline_col = "white",
vline = NULL,
vline_lty = 2,
vline_col = "white",
legend = FALSE,
...
)
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".
Colour map to use, defaults to viridis.
the dimension to display on the y-axis, can be one of: "dyn", "time_sec", x", "y", "z", "coil" or NULL. If NULL (the default) all spectra are collapsed into the dynamic dimension and displayed.
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.
restore default plotting par values after the plot has been made.
a vector of indices specifying where to place additional red tick marks.
add a horizontal line at the specified value.
linetype for the horizontal line.
colour for the horizontal line.
add a vertical line at the specified value.
linetype for the vertical line.
colour for the vertical line.
add a colour bar to the plot using the imagePlot function from the fields package.
other arguments to pass to the plot method.