plot.mrs_data: Plotting method for objects of class mrs_data.

Description Usage Arguments

View source: R/mrs_data_display.R

Description

Plotting method for objects of class mrs_data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## S3 method for class 'mrs_data'
plot(
  x,
  dyn = 1,
  x_pos = 1,
  y_pos = 1,
  z_pos = 1,
  coil = 1,
  fd = TRUE,
  x_units = NULL,
  xlim = NULL,
  y_scale = FALSE,
  x_ax = TRUE,
  mode = "re",
  lwd = NULL,
  bty = NULL,
  label = "",
  restore_def_par = TRUE,
  mar = NULL,
  xaxis_lab = NULL,
  ...
)

Arguments

x

object of class mrs_data.

dyn

the dynamic index to plot.

x_pos

the x index to plot.

y_pos

the y index to plot.

z_pos

the z index to plot.

coil

the coil element number to plot.

fd

display data in the frequency-domain (default), or time-domain (logical).

x_units

the units to use for the x-axis, can be one of: "ppm", "hz", "points" or "seconds".

xlim

the range of values to display on the x-axis, eg xlim = c(4,1).

y_scale

option to display the y-axis values (logical).

x_ax

option to display the x-axis values (logical).

mode

representation of the complex numbers to be plotted, can be one of: "re", "im", "mod" or "arg".

lwd

plot linewidth.

bty

option to draw a box around the plot. See ?par.

label

character string to add to the top left of the plot window.

restore_def_par

restore default plotting par values after the plot has been made.

mar

option to adjust the plot margins. See ?par.

xaxis_lab

x-axis label.

...

other arguments to pass to the plot method.


neuroconductor-devel-releases/spant documentation built on May 6, 2020, 4:29 p.m.