axes object has change with R2015
if verLessThan('matlab','8.4') XLim = get(hPlotAxes(1), 'XLim'); ind = find(tsg.DAYD > XLim(1) & tsg.DAYD < XLim(2)); else ind = find(tsg.DAYD > hPlotAxes(1).XLim(1) & ... tsg.DAYD < hPlotAxes(1).XLim(2) ); end
Loading
Please register or sign in to comment