zoom: A function for changing plotNMR plots.

View source: R/mrbin.R

zoomR Documentation

A function for changing plotNMR plots.

Description

This function changes the plot region of the current NMR plot. Can be called with no arguments: zoom(). In this case the user will be asked for manual input.

Usage

zoom(left = NULL, right = NULL, top = NULL, bottom = NULL, refreshPlot = TRUE)

Arguments

left

New left boundary

right

New right boundary

top

New top boundary

bottom

New bottom boundary

refreshPlot

Refresh plot automatically. Defaults to TRUE

Value

None

Examples

mrbin(silent=TRUE,setDefault=TRUE,parameters=list(dimension="1D",binwidth1D=.1,
         PQNScaling="No",noiseRemoval="No",trimZeros="No",tryParallel=FALSE,
         fixNegatives="No",logTrafo="No",PCA="No",verbose=TRUE,
         NMRfolders=system.file("extdata/1/10/pdata/10",package="mrbin")))
plotNMR()
zoom(left=4.6,right=2,top=10,bottom=150)

mrbin documentation built on Jan. 23, 2023, 5:41 p.m.