Learn R Programming

RSEIS (version 4.2-4)

jlegend: plot a legend

Description

Add legend to side of figure

Arguments

Value

See legend() for details on input

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

Rewrite of the legend function for easier manipulation.

See Also

legend

Examples

Run this code


plot(c(0,1), c(0,1))
u  <-  par('usr')
LEG  <-  jlegend( u[1], u[4], c("Vp", "Vs"),
            lwd=2, col=c(4,3), plot=FALSE  )

 

Run the code above in your browser using DataLab