Learn R Programming

RSEIS (version 2.1-6)

jlegend: plot a legend

Description

Add legend to side of figure

Arguments

Value

  • See legend() for details on input

Details

Rewrite of the legend function for easier manipulation.

See Also

legend

Examples

Run this code
###  VELMOD1D = Get1Dvel("/home/lees/Progs/R_PAX/wu_coso.vel", PLOT = TRUE)

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