Learn R Programming

RSEIS (version 2.4-1)

ymarginfo: Get information on Y-margin for plotting

Description

Get information on Y-margin for plotting

Usage

ymarginfo(SIDE = 1, s1 = 0.1, s2 = 0.8)

Arguments

SIDE
plotting side 1,2,3,4
s1
lower percent of margin to return
s2
upper percent of margin to return

Value

  • vector c(a, b) giving coordinates in margin worth plotting.

Details

Function uses par to help determine how to plot objects in the margins.

See Also

par

Examples

Run this code
plot(c(0,1), c(0,1), type='n')
s1=0.4
s2=0.95
ym = ymarginfo(SIDE=1, s1=s1, s2=s2)

Run the code above in your browser using DataLab