Plot settings {rNMR}R Documentation

Plot settings

Description

Functions for changing plot settings.

Usage

ct()
ctd(n = 1, ...)
ctu(n = 1, ...)
da(...)
di(...)
dp(...)
dr(nlevels = 20, ...)
drf(...)
vp(position = NULL)
vpu(p = 5)
vpd(p = 5)
dd(...)

Arguments

n

positive numeric; the number of standard deviations to increase or decrease the plotting threshold.

nlevels

positive integer; the number of contour intervals to be drawn.

position

numeric value between 0 and 100 that expresses the percentage of the visible range shown below the mean spectral noise level. The default value 5, creates plots with 5 percent of the intensity range below the average noise. Note: this argument applies to 1D spectra only.

p

numeric value between 0 and 100; the amount to increase or decrease the 1D vertical position.

...

Additional arguments can be passed to internal plotting functions (see addArg).

Details

ct displays a GUI for adjusting plot settings. Changes are only applied to files selected from the files list. Double-clicking on a file name within the files list will switch the current spectrum to the file selected. To adjust the contour settings use the scales provided. A scale's upper limits may be adjusted using the left and right arrow buttons adjacent to the scale. This will also change the scale's resolution (increment). The Defaults button restores settings to their default values.

Shortcut functions

ctu and ctd

Raise or lower the contour level of the current spectrum.

da

Redraws the plot with the graphic type automatically set based on the size of the spectral window. Large plots are drawn using images (see image) to provide a faster refresh rate while smaller plots are drawn using contours (see contour) to provide a higher level of detail.

di

Redraws the spectrum as an image plot (see image).

dr

Redraws the spectrum as a contour plot (see contour).

drf

Redraws the spectrum as a filled contour plot (see filled.contour).

dp

Redraws the data within the current window as a perspective plot (see persp) Note: perspective plots may only be drawn for small sectral windows.

vp

Changes the vertical position of 1D spectra.

vpu

Increases the vertical position of 1D spectra.

vpd

Decreases the vertical position of 1D spectra.

dd

Redraws the current spectrum without changing previous graphics and plot settings.

Author(s)

Ian A. Lewis ialewis@nmrfam.wisc.edu, Seth C. Schommer schommer@nmrfam.wisc.edu

See Also

co for color settings; per for perspective plot settings; ol for overlays; rNMR for other rNMR help topics.


[Package rNMR version 1.1.9 Index]