Description Usage Arguments Details Examples
Draw the Legends
1 2 |
object |
The |
x |
The x position of the legends, measured in current viewport. |
y |
The y position of the legends, measured in current viewport. |
just |
Justification of the legends. |
test |
Only used for testing. |
In the legend grob, there should always be a viewport attached which is like a wrapper of
all the graphic elements in a legend.
If in the object
, there is already a viewport attached, it will modify the x
, y
and valid.just
of the viewport. If there is not viewport attached, a viewport
with specified x
, y
and valid.just
is created and attached.
You can also directly use grid.draw
to draw the legend object, but you can
only control the position of the legends by first creating a parent viewport and adjusting
the position of the parent viewport.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.