[ncl-talk] How to avoid overlap of inward tickmarks with data
Adam Phillips
asphilli at ucar.edu
Wed May 1 16:43:27 MDT 2019
Hi Tabish,
Automatically? No. But you could set your trYMinF/trYMaxF/trXMinF/trXMaxF
settings accordingly in a semi-automatic fashion to move the data away from
the boundaries of the plot:
res at trYMinF = min(arr)-0.5
res at trYMaxF = max(arr)+0.5
res at trXMinF = min(arr&time)-1.
res at trXMaxF = max(arr&time)+1.
You will likely have to adjust the 0.5 and 1 values above to fit your own
situation.
Adam
On Sat, Apr 27, 2019 at 1:08 PM Tabish Ansari <tabishumaransari at gmail.com>
wrote:
> Hi
>
> I'm trying to create neat timeseries (xy) plots with tickmarks on both
> axes inwards. This is possible by setting res at tmXBMajorOutwardLengthF
> etc. equal to 0.
>
> However, it then overlaps with the data and makes it untidy. Is there a
> way to leave some white space where the inward tickmarks are drawn and fit
> the data in the remaining space?
>
> Cheers,
>
> Tabish
>
> Tabish U Ansari
> PhD student, Lancaster Environment Center
> Lancaster Univeristy
> Bailrigg, Lancaster,
> LA1 4YW, United Kingdom
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
--
Adam Phillips
Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190501/dfc03d90/attachment.html>
More information about the ncl-talk
mailing list