zoom {rNMR}R Documentation

Zoom

Description

Zoom and pan functions.

Usage

zm()
ff(...)
zf(...)
zi(p = 25, ...)
zo(p = 25, ...)
zc(massCenter = TRUE)
pz(w1Delta = NULL, w2Delta = NULL, ...)
zz(...)
zp()

pd(p = 5, ...)
pu(p = 5, ...)
pl(p = 5, ...)
pr(p = 5, ...)

loc()
delta()

Arguments

p

numeric; the percentage to move, reduce, or enlarge a spectrum.

massCenter

logical; TRUE centers peaks by center of mass, FALSE centers peaks by maximum signal observed.

w1Delta

Chemical shift range for the new window in the indirect dimension, NULL sets the window to 0.25 ppm for 1H and 2.5 ppm for all other nuclei.

w2Delta

Chemical shift range for the new window in the direct dimension, NULL sets the window to 0.25 ppm for 1H and 2.5 ppm for all other nuclei.

...

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

Details

zm displays a zoom and scroll GUI. To zoom or scroll select the desired option using the zoom/scroll radio buttons located along the top, then click on the appropriate arrow button to zoom or scroll by the percentage provided in the center box. The Full, Point, Center, Prev, Hand, and Get shifts buttons call the zf, pz, zc, zp, zz, loc and dela functions respectively, detailed below.

Shortcut functions

ff and zf

Zoom out to display the full spectrum.

zi and zo

Zoom in or out by the provided percentage p.

zc

Centers the main plot window on either a peak's center of mass, or on the maximum observed signal.

pz

Centers the zoom window around a point in the spectrum designated by clicking in the main plot window with the left mouse button. The dimensions of the zoom window are defined by the parameters w1Delta and w2Delta.

zz

Zooms to a specific region designated by clicking on two points in the main plot window with the left mouse button. The two specified points represent opposite corners of a box defining the outer boundaries of the new zoom window. To exit manual zoom mode, right-click within the main plot window.

zp

Reverts to the previous zoom level.

pd, pu, pl, and pr

Pan (scroll) down, up, left, and right respectively by the desired percentage p.

loc

Retrieves chemical shifts for a point in a spectrum defined by clicking within the main plot window. To exit shift retrieval mode, right-click in the main plot window and select stop.

delta

Retrieves the chemical shift range in Hz and PPM between points defined by clicking within the main plot window. To exit shift retrieval mode, right-click in the main plot window and select stop.

Author(s)

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

See Also

rNMR for other rNMR help topics.


[Package rNMR version 1.1.9 Index]