login

drawpoly.gs

Top / GrADS / script / drawpoly.gs

Japanese / English

Name

drawpoly - Draw polygon.

Synopsis

drawpoly [-by type]กกx1 y1 x2 y2 ...

Description

To show help, simply run "color".

Options

-by type
Coordinate type. "world", "grid", or "xy". Defalut value is "xy".
x1, y1, ...
Position of the vertex of the polygon.

Examples

(1) Draw polygon.

ga-> drawpoly 3 3 5 5 4 7 8 3

Script source code