Re: Vertical Structure

From: Guilherme Martins <jgmsantos_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 25 2013 - 05:15:45 MST

Thanks Mary,

Now it's works!

Guilherme.

2013/2/25 Mary Haley <haley@ucar.edu>

> Dear Guilherme,
>
> Thanks for providing your files. I wasn't sure from your email what the
> problem was, but once I ran your script, I saw what you were talking about.
>
> I believe you want the line contours to be on top of the shaded contours,
> correct? If so, you need to create two "plot" arrays, and then use the
> "overlay" procedure to overlay the line contour plot on the shade contour
> plot.
>
> That is, instead of:
>
> plot = new(6,graphic)
>
> you need:
>
> plot_shade = new(6,graphic)
> plot_line = new(6,graphic)
>
> And instead of this:
>
> plot(0) = gsn_csm_pres_hgt(wks,u1,res)
> plot(0) = gsn_csm_pres_hgt(wks,u1,res1)
>
> you want:
>
> plot_shade(0) = gsn_csm_pres_hgt(wks,u1,res)
> plot_line(0) = gsn_csm_pres_hgt(wks,u1,res1)
> overlay(plot_shade(0),plot_line(0))
>
> This way, "plot_line" becomes part of "plot_shade", and "plot_shade" is
> what you want to pass to gsn_panel.
>
> See attached modified version of your script. You may need to fix the
> contour levels, however, because the data range for the last two plots is
> -8 to 6, but you've chosen contour levels of (/10,20,30/).
>
> --Mary
>
>
> On Feb 22, 2013, at 8:31 PM, Guilherme Martins wrote:
>
>
> Hi all,
>
> I want to generate the same figure in attach, but I don't get do that!
> Does anybody can help me?
>
> I send my files in attach.
>
> Thanks,
>
> Guilherme.
>
> --
> *Guilherme Martins*
> http://guilhermemartins.hd1.com.br/
>
>
> <est.vert.temperatura.mcga.ncep.png><temp.dif.nc><temp.ncl><
> zonal.mcga.temp.z.1996.2005.nc><zonal.ncep.air.1986.2005.nc>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>

-- 
*Guilherme Martins*
http://guilhermemartins.hd1.com.br/
Received on Mon Feb 25 05:22:15 2013

This archive was generated by hypermail 2.1.8 : Thu Feb 28 2013 - 14:47:31 MST