Bug fix. Force axis tight in @dseries/plot method (otherwise the method crashes if Matlab/octave considers a too large x-abscissa).
parent
a51db32145
commit
cf567dd5c0
|
@ -56,6 +56,7 @@ switch ndseries
|
|||
end
|
||||
hh = plot(ts.data);
|
||||
end
|
||||
axis tight;
|
||||
id = get(gca,'XTick');
|
||||
if isequal(id(1),0)
|
||||
dates = strings([ts.dates(1)-1,ts.dates(id(2:end))]);
|
||||
|
|
Loading…
Reference in New Issue