Description Usage Arguments Details Value
Finds graphics device coordinates for rectangles that can be used to construct image legend
1 | rect_coords(minWorS, maxEorN, ncuts, EWorNS = "EW", constEWorNS, resEWorNS)
|
minWorS |
The minimum X (horizontal legend) or Y (vertical) user coordinate (0 - 1) for the legend |
maxEorN |
The maximum X (horizontal legend) or Y (vertical) user coordinate (0 - 1) for the legend |
ncuts |
Number of intervals for legend |
EWorNS |
"EW" for horizontal legend (default) or "NS" for vertical |
constEWorNS |
The coordinate that will remain constant (X coord for vertical legend, Y for horiz) |
resEWorNS |
The width in user coordinate for the legend |
This function depends on the TeachingDemos library, and still uses the deprecated cnvrt.coords().
List of coordinates for the four corners of each segment of legend, in graphical device coords
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.