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 - 09:19:39 MDT
This archive was generated by hypermail 2.2.0 : Wed Sep 12 2007 - 09:21:23 MDT