Re: tmXBValues is not working

From: Will Hobbs <Will.Hobbs_at_nyahnyahspammersnyahnyah>
Date: Sat Dec 21 2013 - 17:06:30 MST

Yi-Chih

Have you ensured that the x-array in gsn_csm_xy() is within the range of tmXBValues (i.e. 0-3)?

Your post is a bit unclear, but it sounds like you have an x-array of 38881-38973, which is outside your plot domain (i.e. 0-3).

Will

From: Yi-Chih Huang <dscpln@gmail.com<mailto:dscpln@gmail.com>>
Date: Sunday, 22 December 2013 10:34 AM
To: ncl-talk <ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu>>
Subject: tmXBValues is not working

Hello,

    I am trying to label x axis by the following two sets of commands. However, nothing was labeling on x axis for the first set of commands; The time range [38881..38973] was labeled on x axis for the second set of commands. Could anyone indicate the right commands to label x axis?

  res@tmXBMode = "Explicit"
  res@tmXBValues = ispan(0,3,1)
  res@tmXBLabels = (/"Jun","Jul","Aug","Sep"/)

  res@tmXTMode = "Explicit"
  res@tmXTValues = ispan(0,3,1)
  res@tmXTLabels = (/"Jun","Jul","Aug","Sep"/)

    Thanks much,

              Yi-Chih

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Dec 21 17:06:43 2013

This archive was generated by hypermail 2.1.8 : Mon Jan 06 2014 - 13:02:22 MST