<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<br></strong></pre><pre><br></pre></div></div>