[ncl-talk] tmxBLabels error

Adam Phillips asphilli at ucar.edu
Mon Oct 10 11:28:23 MDT 2016


Hi Ying,
I think you have a syntax error. Change this:
res at tmxBLabels      = ..
to this:
res at tmXBLabels      = ..

If that does not fix the issue let ncl-talk know.
Adam


On Fri, Oct 7, 2016 at 4:33 PM, Ying Song <ysong4 at slu.edu> wrote:

> Hello,
>
>
> I have a problem when customizing the x axis (time) tickmarks. My forecast
> starts at 18z and wrfout are generated every 15 mins. I hope to show the
> time by hours on X axis label. So I use the Explicit mode in my script:
> ---------------------------------------
> ...
>   time       = ispan(0,nrows-1,1)  ; nrows =49
>   res at tmXBMode        = "Explicit"
>   res at tmXBValues      = ispan(0,nrows-1,4)
>   res at tmxBLabels      =(/"18Z","19Z","20Z","21Z","2
> 2Z","23Z","00Z","01Z","02Z","03Z","04Z","05Z","06Z"/)
>   res at tmXBMinorValues = ispan(0,nrows-1,1)
>  plot = gsn_csm_xy (wks,time,dataplot(2:3,:),res)       ; create line plot
> ------------------------------
> The error shows below:
> warning:tmxBLabels is not a valid resource in Speed_comparison_test_xy at
> this time
> warning:tmxBLabels is not a valid resource in Speed_comparison_test_xy at
> this time
> warning:tmxBLabels is not a valid resource in Speed_comparison_test_xy at
> this time
> warning:tmxBLabels is not a valid resource in Speed_comparison_test_xy at
> this time
>
> I am not sure what is wrong on my script. Would you please give me some
> hints?
>
> Thank you very much!
>
>
> --
> Ying Song, PhD, Post Doctoral Fellow
> Department of Earth and Atmospheric Sciences
> Saint Louis University
>
> ysong4 at slu.edu
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161010/9d7a9106/attachment.html 


More information about the ncl-talk mailing list