Learn R Programming

RPMG (version 2.2-7)

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)

Value

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

Arguments

SIDE

plotting side 1,2,3,4

s1

lower percent of margin to return

s2

upper percent of margin to return

Author

Jonathan M. Lees<jonathan.lees.edu>

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