figPlotRegion: Sets up a plot region for later plotting

Description Usage Arguments Value Author(s) See Also Examples

Description

Sets up a plot region for later plotting with fig functinos. Typically use is to establish the x and y ranges for region and otherwise leave blank for later drawing with fig functions.

Usage

1
figPlotRegion(x, y, xlab = NA, ylab = NA, axes=FALSE, type='n')

Arguments

x,y

min and max for x and y plot region

xlab, ylab

Labels for x and y axes. Typically left blank (NA)

axes

a logical value indicating whether both axes should be drawn on the plot. Typically not included (FALSE)

type

1-character string giving the type of plot desired. Typically no data are plotted ('n'). see type in plot() for more info

Value

None

Author(s)

John J. Curtin jjcurtin@wisc.edu

See Also

plot(), figLabDefaults(), figSetDefaults(), figNewDevice(), figLines(),figPoints()

Examples

1
2
3
4
5
figNewDevice()
figPlotRegion(x=c(0,5), y=c(0,10))
figLines(c(0,10),c(0,10))
figAxis(side=1,lab.text='X-axis 1', scale.at=seq(from=0,to=10,by=2))
figAxis(side=2,lab.text='Startle Response', scale.at=seq(from=0,to=10,by=2))

lmSupport documentation built on May 2, 2019, 2:14 p.m.