[gradsusr] More than one file?
Martin V. Mathew
vmartinmathew at gmail.com
Wed May 15 06:30:43 EDT 2013
Hi
It is apparent that you are not using file number while trying to display a
variable. Please refer following URL
http://www.iges.org/grads/gadoc/variable.html#names
Consider that in your case variable anomU is obtained from file opened
initially (could be file number 1) and variable anomV obtained from a file
opened after the first one (file number 2), then command to display these
two variables should be given as follows
'd anomU.1;anomV.2'
In event you do not know file numbers you can use command 'q files' to
get relevant details.
On 14 May 2013 21:54, Mary Ndlovu <maryndlovu2 at gmail.com> wrote:
> Hi,
>
>
> I am having a problem. I can't figure out where i am going wrong. I have a
> prec_anomaly file with 6 timesteps and also have a wind file with 130
> timesteps. These files are on the same Gaussian grid. When i plot them
> separately, i can get the plot. But i want to plot them together, and i
> keep getting an error. What i did is this
>
> 'set t 1 130'
> 'set gxout vector'
> 'd anomU;anomV'
> for the wind file,
>
> then started defining the shading part on the prec file.
> 'set t 1 6'
> 'set clevs -1.5 -0.5 0 0.5 1.5'
> 'define pr_mean=ave(pr.3,t=1,t=6)'
>
> Is there a simpler way to do this. And achieve results? Thanks
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Martin V. Mathew
Research scholar
Centre for Oceans, Rivers, Atmosphere and Land Sciences (CORAL)
IIT Kharagpur
India.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130515/bd8c66c6/attachment-0003.html
More information about the gradsusr
mailing list