Multiple commands per line at grads shell prompt
Arlindo da Silva
arlindo.dasilva at GMAIL.COM
Thu Jun 11 17:28:12 EDT 2009
On Thu, Jun 11, 2009 at 5:13 PM, P.R. <romero619 at hotmail.com> wrote:
> Quick question:
> Is it possible to type in multiple commands on a single line at the grads
> command prompt?
Not that I know of.
>
> I don't think it is, but I just wanted to confirm this...
> Something like this:
>
> ga-> clear ; set gxout shaded ; set clevs 5 10 15 20 30 40 50 ; d tmp
>
As for syntax, the ";" is problematic because grads uses ";" to indicate
vector pairs, e.g.,
ga-> d u;v
A safer delimiter would be \n. In fact, the pygrads command line interpreter
understands this:
[2] ga-> . clear \n d ua \n q config
Arlindo
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090611/41c4483f/attachment.html
More information about the gradsusr
mailing list