Re: multiple overlays

From: David Ian Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Wed, 11 Jul 2007 10:51:02 -0600

Theoretically at least, the only limit on the number of overlays is the
amount of visual complexity
you can make sense of in a single plot.
  -dave

On Jul 11, 2007, at 9:52 AM, Mary Haley wrote:

> Hi Joe,
>
> I don't know what the upper limit is on the number of overlays, but
> you can certainly do at least three.
>
> The key is that you need to set up a base plot, which is usually a map
> (that can already have contours or vectors overlaid on it). Then, as
> long as the data that you want to contour and vectororize for the rest
> of the plots have latitutde/longitude coordinate information included,
> you can overlay these on the base plot.
>
> A crude example:
>
> ; All data must have lat/lon coordinate arrays
> contour_plot1 = gsn_csm_contour(wks,data1,cnres1)
> contour_plot2 = gsn_csm_contour(wks,data2,cnres2)
> vector_plot = gsn_csm_vector(wks,u1,v1,vcres)
> map_plot = gsn_csm_map(wks,mpres)
>
> overlay(map_plot,contour_plot1)
> overlay(map_plot,contour_plot2)
> overlay(map_plot,vector_plot2)
>
> draw(map_plot)
> frame(wks)
>
> For a complete example, please see example 3 on the new TIGGE
> applications page that Adam created:
>
> http://www.ncl.ucar.edu/Applications/tigge.shtml
>
> This particular example is overlaying several contour plots,
> but the same principle can be applied for vector plots.
>
> --Mary
>
>
> On Wed, 11 Jul 2007, Joe Metzger wrote:
>
>> I've searched the website and archives for this capability and may
>> have missed it, but I'm wondering if NCL can plot *three* overlays? I
>> want a color-filled plot on the bottom, then line contours on top of
>> that, and finally curly vectors on the very top. Is this possible?
>> Thanks for any advice or sample scripts.
>>
>> Joe
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jul 11 2007 - 10:51:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 17 2007 - 06:52:00 MDT