From 540c59ee8568fa8ed04a404bfb761c906a8a39d8 Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Fri, 5 Apr 2013 13:15:00 +0200 Subject: [PATCH] reporting: @graph: push zeroline to bottom --- matlab/reporting/@graph/createGraph.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matlab/reporting/@graph/createGraph.m b/matlab/reporting/@graph/createGraph.m index 4431c63b6a..922327441f 100644 --- a/matlab/reporting/@graph/createGraph.m +++ b/matlab/reporting/@graph/createGraph.m @@ -105,7 +105,8 @@ end if o.zeroline a = ylim; if 0 > a(1) && 0 < a(2) - plot(xlim, [0 0], 'color', 'k', 'LineWidth', 0.25); + lh = line(xlim, [0 0], 'color', 'k', 'LineWidth', 0.25); + uistack(lh, 'bottom'); end end drawnow; -- GitLab