From cf567dd5c05520b8b6a91e215159550236d5051c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Scylla=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Mon, 9 Dec 2013 12:34:25 +0100
Subject: [PATCH] Bug fix. Force axis tight in @dseries/plot method (otherwise
 the method crashes if Matlab/octave considers a too large x-abscissa).

---
 matlab/@dseries/plot.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/matlab/@dseries/plot.m b/matlab/@dseries/plot.m
index 0db04cdf1..26d8e80d0 100644
--- a/matlab/@dseries/plot.m
+++ b/matlab/@dseries/plot.m
@@ -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))]);
-- 
GitLab