Learn R Programming

mrbin (version 1.9.1)

zoom: 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,
  dimension = "2D"
)

Value

An invisible value indicating if a change occurred

Arguments

left

New left boundary

right

New right boundary

top

New top boundary

bottom

New bottom boundary

refreshPlot

Refresh plot automatically. Defaults to TRUE

dimension

Dimension of the data. Defaults to "2D"

Examples

Run this code
mrbin(silent=TRUE,setDefault=TRUE,parameters=list(dimension="1D",binwidth1D=.1,
         PQNScaling="No",noiseRemoval="No",trimZeros="No",tryParallel=TRUE,
         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)

Run the code above in your browser using DataLab