Skip to content
Snippets Groups Projects
Commit cf567dd5 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Bug fix. Force axis tight in @dseries/plot method (otherwise the method...

Bug fix. Force axis tight in @dseries/plot method (otherwise the method crashes if Matlab/octave considers a too large x-abscissa).
parent a51db321
No related branches found
No related tags found
No related merge requests found
......@@ -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))]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment