login

max.gs

Top / GrADS / script / max.gs

Japanese / English

Name

max - Get maximum value from two field variables.

Synopsis

max org cmp [new]

Description

To show help, simply run "max".

Options

org
1st variable name. without specifying [new], it will be overridden.
cmp
2nd variable name
new
Result variable name. Without specified it, new=org.

Examples

(1) Draw max[u(t=1),u(t=2)]

ga-> open u.ctl
ga-> max u(t=1) u(t=2) a
ga-> d a

Script source code