[ncl-talk] plot xtick cluster problem

Rick Brownrigg brownrig at ucar.edu
Thu Mar 7 10:08:26 MST 2019


Its hard to say offhand, but I will note that the following bit of code
happens *after* the first paneled plot is generated, the first time through
the do-loop, and this likely accounts for the "Since the second one..."
behavior:

  res at trXMaxF    = 2001
  res at tmXBMode   = "Explicit"
  res at tmXBValues = yyyyfrac(:12)     ; choose first 13 timesteps

  res at tmXBLabels = (/" Jan ~C~2000"," Feb ~C~2000"," Mar ~C~2000"," Apr
~C~2000", \
                     " May ~C~2000"," Jun ~C~2000"," Jul ~C~2000"," Aug
~C~2000", \
                     " Sep ~C~2000"," Oct ~C~2000"," Nov ~C~2000"," Dec
~C~2000", \
                     " Jan ~C~2001"/)

You might print those values, and make certain they are what you think they
are and what you intended.

Hope that helps...
Rick



On Thu, Mar 7, 2019 at 9:24 AM LSL <lslrsgis at whu.edu.cn> wrote:

> Hi everyone,
>
>
> I have met a problem in batching figures generated by the ncl code.
> Since the second one, the xticks are all clusted in the left corner. Any
> solutions?
>
>
> The code and figures are attached.
>
>
> Thanks very much.
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190307/f7aeebc1/attachment.html>


More information about the ncl-talk mailing list