jlegend | R Documentation |
Add legend to side of figure
Rewrite of the legend function for easier manipulation.
See legend() for details on input
Jonathan M. Lees<jonathan.lees.edu>
legend
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 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.