From f944dde89ae0f27118a404fc8e53165dda608518 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/reports/@graph/createGraph.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matlab/reports/@graph/createGraph.m b/matlab/reports/@graph/createGraph.m index 4431c63b6..922327441 100644 --- a/matlab/reports/@graph/createGraph.m +++ b/matlab/reports/@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