[ncl-talk] a question on nonlinear x-axis

Mary Haley haley at ucar.edu
Wed Jan 18 12:08:37 MST 2017


Try setting:

res at gsnXAxisIrregular2Linear = True

I created an example, since we didn't have one that uses this resource. See
example axes_7.ncl at:

http://www.ncl.ucar.edu/Applications/axes.shtml#ex7

--Mary





On Wed, Jan 18, 2017 at 11:09 AM, Hui Ding <hding101 at googlemail.com> wrote:

> Dear Sir or Madam,
>  I have a question on plotting tick marks. Please find the enclosed
> figure. Tick marks are labeled as 1, 5, 10, 15, 20, 30, 40, 50, 60, 70. The
> label is irregular, but I have no idea how to make the intervals between
> them irregular as well. For instance, the distance between 5 and 10 should
> be only half that between 20 and 30. Is it possible to do this in NCL?
> Thank you very much!
> Best,
> Hui Ding
>
>
>
> _______________________________________________
> 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/20170118/e8427a8f/attachment.html 


More information about the ncl-talk mailing list