<div dir="ltr"><div dir="ltr"><div>As per the docs:</div><div><br></div><div> <a href="http://ncl.ucar.edu/Document/Functions/User_contributed/time_axis_labels.shtml">http://ncl.ucar.edu/Document/Functions/User_contributed/time_axis_labels.shtml</a></div><div><br></div><div>It is a contributed function, and requires:</div><div><br></div><div><pre> load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/time_axis_labels.ncl"</pre></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 29, 2019 at 7:18 PM Zach Rieck <<a href="mailto:zrr817@gmail.com">zrr817@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Yeah I had been trying to use this function. I keep running into issues with time_axis_labels function returning as an undefined procedure.<div><br clear="all"><div><div dir="ltr" class="gmail-m_-4816766067386243435gmail_signature"><div dir="ltr">-Zach Rieck<div><a href="mailto:zrr817@gmail.com" target="_blank">zrr817@gmail.com</a></div><div>(513)-502-5652</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 29, 2019 at 10:36 AM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>You might take a look at this function to address your time-axis labelling:</div><div><br></div><div><a href="http://ncl.ucar.edu/Document/Functions/User_contributed/time_axis_labels.shtml" target="_blank">http://ncl.ucar.edu/Document/Functions/User_contributed/time_axis_labels.shtml</a></div><div><br></div><div>Its quite flexible and you'll need/want to experiment a bit, but its basic usage is it modifies the "res" resources variable you pass into plotting routines; something like:</div><div><br></div><div>res = True</div><div>.....</div><div>restick = True</div><div>restick@ttmFormat = "%Y/%N" ;; will give labels like yyyy/mm</div><div>time_axis_labels(time_f, res, restick)</div><div>;;; now "res" will have additional labeling resources added to it</div><div>plot = .....</div><div><br></div><div>I hope that helps. I don't really understand your second issue.</div><div><br></div><div>Rick<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 26, 2019 at 8:15 PM Zach Rieck <<a href="mailto:zrr817@gmail.com" target="_blank">zrr817@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">To Whom it May Concern-<div><br></div><div>I have two issues that I am beating my head against the table trying to solve. The 1st, along the lines of my subject is regarding getting my plot to show dates instead of "days since 2001" in the x-axis. I've tried using some supplied code in the documentation regarding time resources, but I can't get it to work with my code. The time snippet I have is correct, so if I can just solve this issue my plot will be good to go.</div><div><br></div><div>The 2nd issue I am running into is that my 2nd plot (from WRF data) is showing 0 for all my values when I am plotting it, despite the fact that printing the gridpoint variable gives the right output. I can't provide the file due to its massive side and location on cloud storage (it would take at least 10 hours to download locally). I know this isn't particularly helpful, but if it its at all possible to look at my code and see if there is something I might be doing wrong I'd really appreciate it.</div><div><br></div><div>I'll attach here the code file as well as the data file for my 1st plot and the output so you can see it. Any advice/ help is greatly appreciated.</div><div><br></div><div><div><div dir="ltr" class="gmail-m_-4816766067386243435gmail-m_-7327820218249416884gmail-m_581122246163351689gmail_signature"><div dir="ltr">-Zach Rieck<div><a href="mailto:zrr817@gmail.com" target="_blank">zrr817@gmail.com</a></div><div>(513)-502-5652</div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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>
</blockquote></div>
</blockquote></div>
</blockquote></div>