From 73142f3eeb515aa1c78d101dd50051876d54410a Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Fri, 14 Feb 2014 15:22:14 +0100 Subject: [PATCH] reporting: deal with nans/inf/-inf data by jumping it --- matlab/reports/@graph/writeGraphFile.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matlab/reports/@graph/writeGraphFile.m b/matlab/reports/@graph/writeGraphFile.m index e08d96fc2b..6cedee93f0 100644 --- a/matlab/reports/@graph/writeGraphFile.m +++ b/matlab/reports/@graph/writeGraphFile.m @@ -85,7 +85,8 @@ fprintf(fid, ['},\n',... 'width=%fin,\n'... 'height=%fin,\n'... 'scale only axis,\n'... - 'axis lines=box,\n'], o.width, o.height); + 'axis lines=box,\n'... + 'unbounded coords=jump,\n'], o.width, o.height); if o.xAxisTight fprintf(fid, 'enlarge x limits=false,\n'); -- GitLab