Re: plotting contours, vectors, and significance?

From: Anji Seth <anji.seth_at_nyahnyahspammersnyahnyah>
Date: Wed, 5 Sep 2007 14:42:30 -0400

Adam, Thanks very much for this, it works beautifully.
-Anji

On Aug 31, 2007, at 9:15 PM, asphilli_at_cgd.ucar.edu wrote:

> Hi Anji,
>
> I think you are going about it the right way with using
> gsn_csm_vector_scalar_map_ce and overlay..
>
> If I understand correctly the map plot could be used as a
>> base, but is this true if it includes vectors?
>
> Yes, it is.
>
> res = True
> .....
> res_at_gsnDraw = False
> res_at_gsnFrame = False
> plot=gsn_csm_vector_scalar_map_ce(wks,u(ind_uv,:,:),v(ind_uv,:,:),\
> sst(ind_sst,:,:),res)
> sres = True
> sres_at_cnLevelMode = "ExplicitLevels"
> sres_at_cnLevels = 95.
> sres_at_cnLineColor = "red"
> sres_at_gsnDraw = False
> sres_at_gsnFrame = False
> plot2 = gsn_csm_contour(wks,signif1,sres)
> overlay(plot,plot2)
> sres_at_cnLineColors = "blue"
> plot3 = gsn_csm_contour(wks,signif2,sres)
> overlay(plot,plot3)
> draw(plot)
> frame(wks)
>
> Good luck,
> Adam
>
>> Hello Everyone,
>>
>> I'd like to generate a single figure that shows a color filled contour
>> map, overlayed by vectors,
>> and then overlayed by significant regions for the contoured field and
>> the vector field. I would like to show the 95% significant regions
>> using a color contour for the two fields.
>>
>> Is there a way to do this using gsn_csm_vector_scalar_map_ce
>> combined with
>> overlay? If I understand correctly the map plot could be used as a
>> base, but is this true if it includes vectors?
>>
>> Currently I can generate the contour and vector map, and maps of each
>> field with its significance contoured, but not all together.
>>
>> Ideas, suggestions, examples would be appreciated.
>> Thanks! -Anji
>>
>> Anji Seth, Geography, University of Connecticut
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
Anji Seth, Geography, University of Connecticut

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 05 2007 - 12:42:30 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 07 2007 - 11:00:32 MDT