Specifies the location of a legend in a plot window.
*Position() - legendsSpecifies the location of a legend in a plot window. |
|||||
*Position() - legendsSpecifies the location of a legend in a plot window. |
Syntax |
*Position(X1, Y1, X2, Y2) |
|
Arguments |
Name |
Description |
X1 |
The X coordinate of the upper left corner of the legend in real coordinates. |
|
Y1 |
The Y coordinate of the upper left corner of the legend in real coordinates. |
|
X2 |
An optional argument indicating the X coordinate of the lower right corner of the legend in real coordinates. |
|
Y2 |
An optional argument indicating the Y coordinates of the lower right corner of the legend in real coordinates. |
|
Example |
*BeginPlot() • • • *BeginLegend(On) *Font("helvetica", 0, 0, 12) *Position(1.2, 0) *BorderWidth(1) *EndLegend() • • • *EndPlot() |
|
Application |
HyperGraph. |
|
Context |
||
Comments |
If X2, Y2 are omitted, the legend is centered at X1, Y1. If X2 and Y2 are specified, the legend is centered inside the X1, Y1, X2, Y2 region. |
|
See also |
|
|