Description Usage Arguments Details Value Side Effects See Also Examples
Adds a legend to current plot. The location can be specified with \$lat and \$lon. Allows all the same parameters as legend.
1 |
pos |
The position of the text, should include \$lat and \$lon. If \$lat and \$lon are llength 1, they determine the top left corner of the rectangle; if theey are length 2 vectors, the give opposite corners of the rectangular area. A list containing x and y values may be supplied. |
legend |
Vector of character strings to be associated with plot. |
... |
The function allows any optional argument to the legend function to be taken. |
See legend.
None.
Draws a box at specified coordinates and puts inside (if possible) examples of lin, points, marks and/or shading, each identified with a user-specified text string.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.