<div dir="ltr"><div class="gmail_default" style="font-size:small">Erik,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">NCL is always trying to figure out how best to label the X and Y axes such that labels don't run into each other. Sometimes it doesn't get this quite right.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">When you want more control over the labeling, use the tmXBMode / tmYLMode resources.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In your case, I was able to do the following, to force a label on the end axes:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><font face="monospace, monospace"> res@tmXBMode = "Manual"</font></div><div class="gmail_default"><font face="monospace, monospace"> res@tmXBTickStartF = res@trXMinF ; Force tickmark labelling to start at first value </font> </div><div><br></div><div>I didn't have to set "tmXBTickEndF", because NCL figured this out based on the start value.</div><div><br></div><div>See the attached script for an example. I'm going to add this to our tickmark examples page.</div><div><br></div><div>--Mary</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 6:22 AM, Erik J. Schaffernicht <span dir="ltr"><<a href="mailto:eschaffe@uni-koeln.de" target="_blank">eschaffe@uni-koeln.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How can I ask NCL to label tic marks at all *beginning* and *end* of map axes, time series axes,...?<br>
<br>
I use these to plot my data:<br>
gsn_csm_contour()<br>
gsn_csm_xy()<br>
<br>
NCL put tic marks everywhere but labels only some of them. Unfortunately, it only labels the beginning and end of my axes "by chance", i.e. just if my data range fits by chance to the NCL intervals.<br>
<br>
How can I ask NCL to label in all my plots and data ranges beginnings and ends of my axes without having to specify these values/coordinates/tics manually in each script?<br>
<br>
Example:<br>
(a)<br>
My map goes from 10N to 80N. NCL decides to label only two tics: At 30N and 60N. How can I set NCL to label 10N and 80N as well?<br>
<br>
(b)<br>
My time series goes from 1850 to 1870. NCL labels 1852, 1856,...,1868. How do I set NCL to add labels for 1850 and 1870, i.e. start and end point? ...without doing it explicitly manually for each data range I like to plot?<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>