figZoom {GCDkit} | R Documentation |
These functions zoom in and out Figaro-compatible plots.
figZoom() figUnzoom() figXlim(range=NULL) figYlim(range=NULL) figFixLim(no.action.warn=TRUE)
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? |
'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.
If requesting a logarithmic plot, make sure that the axis ranges are positive.
Colin M. Farrow, colinfarrow537@gmail.com
and Vojtěch Janoušek, vojtech.janousek@geology.cz
'figaro
'
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)