<div dir="ltr">Hi Ying,<div>I think you have a syntax error. Change this:</div><div><span style="font-size:12.8px">res@tmxBLabels      = ..</span><br></div><div><span style="font-size:12.8px">to this:</span></div><div><span style="font-size:12.8px">res@tmXBLabels      = ..</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">If that does not fix the issue let ncl-talk know.</span></div><div><span style="font-size:12.8px">Adam</span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 7, 2016 at 4:33 PM, Ying Song <span dir="ltr">&lt;<a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div><br></div><div>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: </div><div>------------------------------<wbr>---------</div><div>...</div><div>  time       = ispan(0,nrows-1,1)  ; nrows =49</div><div>  res@tmXBMode        = &quot;Explicit&quot;</div><div>  res@tmXBValues      = ispan(0,nrows-1,4)</div><div>  res@tmxBLabels      =(/&quot;18Z&quot;,&quot;19Z&quot;,&quot;20Z&quot;,&quot;21Z&quot;,&quot;2<wbr>2Z&quot;,&quot;23Z&quot;,&quot;00Z&quot;,&quot;01Z&quot;,&quot;02Z&quot;,&quot;0<wbr>3Z&quot;,&quot;04Z&quot;,&quot;05Z&quot;,&quot;06Z&quot;/)</div><div>  res@tmXBMinorValues = ispan(0,nrows-1,1)<br></div><div> plot = gsn_csm_xy (wks,time,dataplot(2:3,:),res)       ; create line plot</div><div>------------------------------</div><div><div><div>The error shows below:</div><div>warning:tmxBLabels is not a valid resource in Speed_comparison_test_xy at this time</div><div>warning:tmxBLabels is not a valid resource in Speed_comparison_test_xy at this time</div><div>warning:tmxBLabels is not a valid resource in Speed_comparison_test_xy at this time</div><div>warning:tmxBLabels is not a valid resource in Speed_comparison_test_xy at this time</div></div><div><br></div><div>I am not sure what is wrong on my script. Would you please give me some hints? </div><div><br></div><div>Thank you very much!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div>-- <br><div><div dir="ltr"><div>Ying Song, PhD, Post Doctoral Fellow </div><div>Department of Earth and Atmospheric Sciences</div><div>Saint Louis University</div><div><br></div><div><a href="mailto:ysong4@slu.edu" target="_blank">ysong4@slu.edu</a></div><div><br></div></div></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>