<div dir="ltr"><div dir="ltr"><div>This is one of the contributed functions that is not loaded automatically.  You are missing a "load" command.  NCL gave you a clue:  "possibly an undefined procedure".  Please look at the top of the function documentation page.</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 8, 2019 at 9:14 AM Zilore Mumba via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I am trying to plot a time series. I have converted the dates in the file to the format YYYYMMDD with the function <br></div><div>   t = f->time                            ; to get time in file<br>   cd_date = cd_calendar(t, -2)   ; print(cd_date) prints correctly, eg 19960101,...</div><div>Then to prepare the format for the x-axis label, I have:</div><div><pre> resT1  = true<br></pre><pre> some resources<br> ..............<br></pre><pre> restick = True
 restick@ttmFormat = "%d %c"
 restick@ttmAxis = "YL"
 restick@ttmMajorStride = 20
 <strong>time_axis_labels</strong>( data&time,  res, restick )<br><br></pre><pre>I am getting the error:<br>fatal:syntax error: line 57 in file two-line-plot.ncl before or near \n <br>   time_axis_labels( data&time,  resT1, restick )<br>-------------------------------------------------^<br><br>fatal:syntax error: possibly an undefined procedure<br>fatal:syntax error: line 72 in file two-line-plot.ncl before or near \n <br>   time_axis_labels(cd_date,resT1,restick)<br>------------------------------------------^<br><br>fatal:syntax error: possibly an undefined procedure<br>fatal:Syntax Error in block, block not executed<br>fatal:error at line 76 in file two-line-plot.ncl<br><br></pre><pre>Is the <br><strong>time_axis_labels function still valid, or is there an alternative function?<br></strong></pre><pre><strong>Help will be appreciated.<br></strong></pre><pre><strong>Zilore</strong></pre></div></div></blockquote></div></div></div>