From 991b06c36e1ab24a77f6845220d18e15b3a999c6 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Thu, 29 Aug 2019 18:23:56 +0200
Subject: [PATCH] fix test: graphics were overflowing to the next page

---
 test/createReport.m | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/createReport.m b/test/createReport.m
index 33b4f41..930e491 100644
--- a/test/createReport.m
+++ b/test/createReport.m
@@ -150,7 +150,7 @@ rep = CommResidTablePage(rep, db_q, dc_q, trange, dates('2012q2'));
 %Page 24
 rep.addPage('title', 'Jan1 vs Jan2', ...
                   'titleFormat', '\large\bfseries');
-rep.addSection();
+rep.addSection('height', '0.475\textheight');
 
 rep.addGraph('title', {'World Real Oil Price Index','SUBTITLE'}, ...
                    'xrange', prange, ...
@@ -176,7 +176,6 @@ rep.addSeries('data', db_q{'LRPOIL_BAR_WORLD'}, ...
                     'graphLineStyle', 'solid', ...
                     'graphLineWidth', 1.5);
 
-
 rep.addGraph('title', 'World Real Food Price Index', ...
                    'xrange', prange, ...
                    'shade', srange, ...
-- 
GitLab