Displays a polygon on the graphics device
POLYGON/DRAW [/FILLED] [/OUTLINE] | xarray=RealArray yarray=RealArray [colour=Colour] [line_thickness=Real] | Draws a polygon onto a graphics device. |
POLYGON/ALTER [/FILLED] [/OUTLINE] | [xarray=RealArray] [yarray=RealArray] [colour=Colour] [line_thickness=Real] object=Gobject | Alters a polygon on a graphics device |
example:
# Draws a polygon plot with crosses # then alters the marker symbol. >> Polygon/draw x_points y_points >> Markers/alter line_thickness=10.0 object=obj(0,0,0)
Note: By default the polygon is outlined.
Draws a polygon onto a graphics device
/Filled
Colours the whole of the polygon.
/Outline
Colours the perimeter of the polygon.
Xarray (RealArray)
Specifies the x co-ordinates of the polygon.
Yarray (RealArray)
Specifies the y co-ordinates of the polygon.
Colour (Colour)
Sets the colour of the polygon.
Line_thickness (Real)
Sets the line thickness of the polygon.
RESULT = (Polygon)
Returns all of the properties of the newly created polygon.
Alters a polygon previously drawn on a graphics device.
/Filled
Colours the whole of the polygon.
/Outline
Colours the perimeter of the polygon.
Xarray (RealArray)
Not Yet Implemented. Specifies the x co-ordinates of the polygon.
Yarray (RealArray)
Not Yet Implemented. Specifies the y co-ordinates of the polygon.
Colour (Colour)
Sets the colour of the polygon.
Line_thickness (Real)
Sets the line thickness of the polygon.
Object (Gobject)
Shows which polygon is to be altered, in any one window.
RESULT = (Polygon)
Returns all of the properties of the altered polygon.