Re: Question about gsn_polyline_ndc function

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Jun 02 2010 - 22:50:10 MDT

It's probably an ordering situation, as Adam suggested.

If you are drawing a panel plot using gsn_panel, you need to call gsn_polyline_ndc after gsn_panel.

I've attached a sample script and PS file.

--Mary

On Jun 2, 2010, at 10:20 AM, Adam Phillips wrote:

> Hi Sabeerali,
> Are plots(1:2) some type of overlay plot, or are you setting any
> DrawOrder resource to "PostDraw"? Otherwise this type of behavior would
> not be expected.
>
> Try setting gres@tfPolyDrawOrder = "PostDraw"
> This resource is discussed here:
> http://www.ncl.ucar.edu/Applications/draworder.shtml
> Best regards,
> Adam
>
> On 06/02/2010 05:37 AM, Sabeerali(sebi) wrote:
>> Hi Everyone,
>>
>> I have four contour plot panelled in four raw (/4,1/). I
>> want to draw a line from top plot to bottom plot..So I used
>> gsn_polyline_ndc(wks,(/0.45,0.55/),(/0.0,0.99/),gres)..It draws the
>> line from top plot to bottom plot..But the line is not appearing over
>> the contour plot..In between two contour plot line is appearing. Any
>> help would be appreciated.
>>
>> Thanks in advance
>>
>>
>> --
>> **********************************
>> Sabeerali
>> Climate and Global Modeling Division
>> Indian Institute of Tropical Meteorology
>> Pashan, Pune, 411 008
>> ****************************************
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> --
> __________________________________________________
> Adam Phillips
> asphilli@ucar.edu
> National Center for Atmospheric Research tel: (303) 497-1726
> Climate and Global Dynamics Division fax: (303) 497-1333
> P.O. Box 3000
> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Wed Jun 2 22:50:35 2010

This archive was generated by hypermail 2.1.8 : Mon Jun 07 2010 - 16:48:44 MDT