Re: reference lines with fill above the topmost

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed Oct 06 2010 - 16:51:48 MDT

Hi Debasish,
Perhaps I am not understanding what you want, but could you draw your
reference line as transparent or white, and follow example #24:
http://www.ncl.ucar.edu/Applications/xy.shtml#ex24
to fill the are between your moving reference line and your regular data
line?
Adam

On 10/06/2010 12:09 PM, Debasish wrote:
> Hello!
>
> I have a 30 years daily variables for spring (i.e x(year, days)) where year=30 and days=92 (spring month only).
>
> I plotted temporal trend of the variable x1d(year*days) (=ndtooned(x)) where year*days=2760.
>
> Now I would like to draw Y reference lines with fill above the topmost for each year where position of reference line is 0.25*dim_max_n(x,1), (i.e. 1/4 of yearly peak) on the temporal trend of variable x1d.
>
> I found the nearest example xy_21.ncl (http://www.ncl.ucar.edu/Applications/xy.shtml) which draws a curve with three Y reference lines, with a fill above the topmost and below the bottommost lines but in my case position of the reference lines are different in different years.
>
> Any help will be appreciated
>
> Thanks
>
> Debasish
>
> _______________________________________________
> 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
Received on Wed Oct 6 16:51:52 2010

This archive was generated by hypermail 2.1.8 : Tue Oct 12 2010 - 15:27:00 MDT