<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hey Tabish,<div class="">NCL will always try to adapt the x-axis depending on the data that you have. I've noticed multiple times than, when using the time_axis_labels procedure, this could lead to unexpected behaviour.</div><div class=""><br class=""></div><div class="">However, you should be able to fix the problem simply by manually setting the extent of the horizontal axis, i.e. <font face="Menlo" class="">res@trXMaxF=max(timearr)</font> in your case.</div><div class="">Hope that solves the problem.</div><div class="">Cheers </div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 19. Jan 2018, at 16:06, Tabish Ansari via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi<br class=""><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I'm getting extra white space at the end of my time series data which makes the x-axis slightly longer than the length of the data available. This leads to inefficient use of horizontal space available for the plot (shrinking of the data). Can you please point out why this is happening?<br class=""><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">The ncl-script and the plot are attached.<br class=""><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thank You!<br class=""><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Tabish<br class=""><br clear="all" class=""></div><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div class=""><font size="1" class=""><span style="font-family:tahoma,sans-serif" class="">Tabish U Ansari<br class=""></span></font></div><font size="1" class=""><span style="font-family:tahoma,sans-serif" class="">PhD student, Lancaster Environment Center<br class=""></span></font></div><font size="1" class=""><span style="font-family:tahoma,sans-serif" class="">Lancaster Univeristy<br class=""> <span class="">Bailrigg</span>, <span class="">Lancaster</span>, <br class=""><span class="">LA1 4YW</span>, <span class="">United Kingdom</span></span></font><br class=""></div></div></div>
</div>
<span id="cid:D0DBC8E8-E3EA-435C-98C1-C5467324ECF0@mpimet.mpg.de"><PBLH-obs-ts_dust-sphere.png></span><span id="cid:2FB2BF1C-6E43-4239-82C7-8275AFA73729@mpimet.mpg.de"><plot-obsPBLHts.ncl></span>_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">Guido Cioni</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://guidocioni.altervista" class="">http://guidocioni.altervista</a>.org</div>

</div>
<br class=""></div></body></html>