[ncl-talk] tmxBLabels error

Ying Song ysong4 at slu.edu
Fri Oct 7 16:33:49 MDT 2016


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","
22Z","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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161007/1859223e/attachment.html 


More information about the ncl-talk mailing list