login

line.gs

Top / GrADS / script / line.gs

Japanese / English

  • Note: drawline.gs, which is an advanced version of line.gs, was released, and this script will be removed in future.

Name

line - Draw line in various coordinate.

Synopsis

line [-by type] p1 q1 p2 q2

Description

To show help, simply run "line".

Options

-by type
Coordinate type. "world", "grid", or "xy". Defalut value is "world".
p1 q1 p2 q2
Coordinate values at the start and end points of line.

Examples

(1) Draw t and line from (lon,lat)=(120,40) to (240,20).

ga-> open t.ctl
ga-> d t
ga-> line 120 40 240 20

Script source code