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)

figFixLim(no.action.warn=TRUE)

Arguments

range

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

no.action.warn

logical: should be a warning shown if there is no action needed?

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 onr.

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

'figFixLim' extends the scales of both axes of a binary plot automatically if necessary to accommodate all the data points.

Warning

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

Author(s)

Colin M. Farrow, colinfarrow537@gmail.com

and Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

'figaro'

Examples

    data(sazava)
    accessVar("sazava")
    
    # Classification diagram
    plotDiagram("TAS",FALSE) # example of a classification plot
    figCex(1.5)
    figXlim(c(45,65))
    figYlim(c(0,10))
      
    ## Not run: 
        figFixLim(no.action.warn=TRUE)
        figFixLim(no.action.warn=TRUE)
        figFixLim(no.action.warn=FALSE)
        
        figZoom()
    
## End(Not run)

[Package GCDkit version 6.1 Index]