Hi Mary,
Thank you for your answer.
I don't solve that problem yet.
I inserted 2 lines in my codes which you mentioned.
But it doesn't work.
And the result is different from my expectation.
The output is not the panel plot.
I can see just contour plots per frame.
It seems that "overlay" closes the frame but I would like to draw a panel
plot.
Soo-Jin
-----Original Message-----
From: Mary Haley [mailto:haley_at_ucar.edu]
Sent: Thursday, September 13, 2007 12:20 AM
To: Soo-Jin Sohn
Cc: ncl-talk_at_ucar.edu
Subject: Re: shading-contour-vector paneling
On Wed, 12 Sep 2007, Soo-Jin Sohn wrote:
> Hi All,
>
>
>
> I would like to draw a panel plot which is 3 by 3.
>
> Each plot should be drawn shading-contour-vector together.
>
>
>
> plot = new(dimsizes(mNames), graphic)
>
> do imod = 0, dimsizes(mNames)-1
>
> plot (imod) = gsn_csm_vector_scalar_map(wks,u850,v850, skew,res)
>
> end do ; imod-end
>
> gsn_panel(wks, plot, (/3,3/), resp)
>
> I want to add contour on this plot.
>
> Thanks in advance for all your help.
>
> Soo-Jin
Hi Soo-Jin,
You can use the "overlay" procedure to overlay an additional contour
plot. The data for the contour plot must have coordinate arrays in
the same data space as your vector/scalar plot.
Here's an example:
cnres = True ; Set up resource list for contours
cnres@... = ...
do imod = 0, dimsizes(mNames)-1
plot (imod) = gsn_csm_vector_scalar_map(wks,u850,v850, skew,res)
contour = gsn_csm_contour(wks,data,cnres)
overlay(plot(imod),contour)
end do ; imod-end
You can see some contour on contour overlay examples at:
http://www.ncl.ucar.edu/Applications/conOncon.shtml
--Mary
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 12 2007 - 18:51:04 MDT
This archive was generated by hypermail 2.2.0 : Fri Sep 14 2007 - 08:05:02 MDT