figZoom {GCDkit}R Documentation

Plot editing: Zooming

Description

These functions zoom in and out Figaro-compatible plots.

Usage

figZoom()

figUnzoom()

figXlim(range=NULL)

figYlim(range=NULL)

Arguments

range

numeric: two limits, minimum and maximum, for the given axis.

Details

'figZoom' zooms the specified rectangular area (click bottom left and then top right corner) in a new window. The zoomed area is highlighted in the old window.

'figUnzoom' closes the new window with blown up portion of the plotting window and returns to the original window.

'figXlim' and 'figYlim' allow to change the plotting limits (as a list of two components, separated by commas).

Warning

If requesting a logarithmic plot, make sure that the axis ranges are positive.

Author(s)

Colin M. Farrow, colinfarrow537@gmail.com

and Vojtech Janousek, vojtech.janousek@geology.cz

See Also

'figaro'

Examples

    ## Not run:         
    # requires a preexisting Figaro-compatible plot 
    plot.diagram("Shand",select.samples=FALSE)
    figXlim(c(0.6,1.2))
    figYlim(c(0.8,3))

## End(Not run)

[Package GCDkit version 4.1 Index]