Learn R Programming

mrbin (version 1.9.4)

zoomIn: A function for changing plotNMR plots.

Description

This function zooms into the plot region of the current NMR plot.

Usage

zoomIn(refreshPlot = TRUE, x = TRUE, y = TRUE)

Value

None

Arguments

refreshPlot

Refresh plot automatically. Defaults to TRUE

x

Change x axis? Defaults to TRUE

y

Change y axis? Defaults to TRUE

Examples

Run this code
resetEnv()#clean up previous data from the package environment 
mrbin(silent=TRUE,setDefault=TRUE,parameters=list(dimension="1D",binwidth1D=.1,
         PQNScaling="No",noiseRemoval="No",trimZeros="No",
         fixNegatives="No",logTrafo="No",PCA="No",verbose=TRUE,
         NMRvendor="mrbin",
         example=TRUE,#only used for the package examples
         NMRfolders=system.file("extdata/1.mr1",package="mrbin")))
plotNMR()
zoomIn()

Run the code above in your browser using DataLab