Hi Xin,
Unfortunately there's no simple resource that allows you to reverse the labelbar.
You have to first create the plot, retrieve the labelbar that's associated with it, get the colors and labels, reverse the colors and labels, and reset them in the labelbar.
Please see example lb_15.ncl at
http://www.ncl.ucar.edu/Applications/labelbar.shtml
Hopefully you can copy the "reverse_labelbar" procedure to your code and use it the same way that this example uses it.
--Mary
On Aug 25, 2011, at 12:35 PM, Xin Xi wrote:
> Hi,
> A quick question on the label bar: how do I make the order of the number in the box reversed (see attached figure) - it goes from 24 to 1 top down, I'd like it to be from 1 to 24.
> Thanks,
> Xin
>
> <lctype50s.000001.png>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 25 14:47:31 2011
This archive was generated by hypermail 2.1.8 : Mon Aug 29 2011 - 21:44:22 MDT