From a9de9045a6779f2c31477b91be335a5af47e9424 Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Mon, 24 Feb 2014 15:34:48 +0100 Subject: [PATCH] reporting: add baseline option to help with tikzpicture alignment --- matlab/reports/@graph/writeGraphFile.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/reports/@graph/writeGraphFile.m b/matlab/reports/@graph/writeGraphFile.m index 7a1fc47a0..4fa888ce4 100644 --- a/matlab/reports/@graph/writeGraphFile.m +++ b/matlab/reports/@graph/writeGraphFile.m @@ -49,7 +49,7 @@ if fid == -1 error(['@graph.writeGraphFile: ' msg]); end -fprintf(fid, '\\begin{tikzpicture}'); +fprintf(fid, '\\begin{tikzpicture}[baseline]'); if isempty(o.xrange) dd = getMaxRange(o.series); -- GitLab