Re: question about plot and overlay

From: Andrew Dawson <dawson_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 08 2012 - 08:35:12 MST

Try using: draw(plot1_S)

Andrew

On 8 March 2012 14:47, Jie Tang <totangjie@gmail.com> wrote:

> hi
> I am trying to plot some figures where there are two plots in one slide.
> 1
> Seeing .
> res=True
> res@cnFillOn = True ; turn on color
> res1=True
> res@cnFillOn = False
> plot1_S = gsn_csm_contour(plot1_wks,PP(itimes,12,:,:),res) ;Shaded
> plot
> plot1_C = gsn_csm_contour(plot1_wks,THE(itimes,12,:,:),res1)
> ;contour line plot
> overlay(plot1_S,plot1_C)
> draw(plot1_wks)
> frame(plot1_wks)
> But it seems something wrong as seeing the attachment png file .
>
> And the data is read and calculted from a wrfout file .Can I overlay the
> map of the wrf file?
>
>
> --
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
Dr Andrew Dawson
Atmospheric, Oceanic & Planetary Physics
Clarendon Laboratory
Parks Road
Oxford OX1 3PU, UK
Tel: +44 (0)1865 282438
Email: dawson@atm.ox.ac.uk
Web Site: http://www2.physics.ox.ac.uk/contacts/people/dawson

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 8 05:35:26 2012

This archive was generated by hypermail 2.1.8 : Tue Mar 13 2012 - 14:00:14 MDT