[GrADS] How to plot two kinds of contours in one map?

Qingfang Dai qdai at MATH.UALBERTA.CA
Mon Jan 21 13:22:39 EST 2008


Hi Jayakrishnan,

Thanks a lot.

Qingfang

On Mon, 21 Jan 2008 10:39:02 +0530, Jayakrishnan PR wrote
> I think you have to write two ctl files for each data files. Then combine these two ctls with one gs file. For plotting two contours you have to first display the climatology contour in the gs. After that in the same gs file followed by this you display the second contour.  Then save the figure. This will give the required figure I think.
>
> for eg: the gs file will look something like this
>     reinit
>    open clim.ctl
>     set lat -10 45
>     set lon 60 110
>     set lev 850
>     d clim
>     open elevation.ctl
>     set lat -10 45
>     set lon 60 110
>     set lev 850
>     d elev
>     printim  sample.jpg
>
> Try this and hope this helps.....
>
>
> On Jan 21, 2008 2:12 AM, Qingfang Dai <qdai at math.ualberta.ca > wrote:
>

Dear GrADS Users,
>
> I want to plot two kinds of contour in one map: one kind of contour is
> precipitation climatology contour (solid line) and another one is elevation
> contour (broken line). Now I have two data files: one for climatology and
> abother one for elevation. So should I open these two data files in one ctl
> file or I should write two seperate ctl files and two seperate gs files? I
> cannot find some useful hints in the GrADS manual. Thanks.
>
> Qingfang
>
>
> --
> ***********************************************
> Jayakrishnan.P.R
> Junior Research Fellow
> Department of Atmospheric Sciences
> Cochin University of Science And Technology (CUSAT), Cochin-16
> Kerala, India.
> Mob: 09895417565
>
> ***********************************************

--
Department of Math and Stat Sciences (http://www.math.ualberta.ca)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080121/3856aa40/attachment.html 


More information about the gradsusr mailing list