Learn R Programming

astrochron (version 1.4)

zoomIn: Dynamically explore cross-plot, zoom-in into specified region

Description

Dynamically explore cross-plot, zoom-in into specfied region. Accepts one dataframe/matrix with two columns, or two dataframes/vectors with one column.

Usage

zoomIn(dat1,dat2=NULL,ptsize=0.5,xmin=NULL,xmax=NULL,ymin=NULL,ymax=NULL,plotype=1,
       verbose=T)

Arguments

dat1

Data frame with one or two columns. If one column, dat2 must also be specified.

dat2

Data frame with one column.

ptsize

Size of plotted points.

xmin

Minimum x-value (column 1) to plot

xmax

Maximum x-value (column 1) to plot

ymin

Minimum y-value (column 2) to plot

ymax

Maximum y-value (column 2) to plot

plotype

Type of plot to generate: 1= points and lines, 2 = points, 3 = lines

verbose

Verbose output? (T or F)