diff --git a/matlab/reports/@graph/write.m b/matlab/reports/@graph/write.m
index 6aa3f4ab694380287c25676e612d72252b4ce4d0..7fee076f3a3c84cf47bc007de12cf610e3d7142d 100644
--- a/matlab/reports/@graph/write.m
+++ b/matlab/reports/@graph/write.m
@@ -31,14 +31,5 @@ function o = write(o, fid)
 
 assert(fid ~= -1);
 o = writeGraphFile(o);
-
-if ~isempty(o.title)
-    fprintf(fid,'\\begin{tabular}[x]{@{}c@{}}%s\\\\',o.title);
-end
-
 fprintf(fid, '\\input{%s}', o.figname);
-
-if ~isempty(o.title)
-    fprintf(fid,'\\end{tabular}');
-end
 end
\ No newline at end of file
diff --git a/matlab/reports/@graph/writeGraphFile.m b/matlab/reports/@graph/writeGraphFile.m
index 6cedee93f01048f4511d3533f99d54212a0f1296..d130f8d613f9827aca920cd6a3f6a9a51c031a23 100644
--- a/matlab/reports/@graph/writeGraphFile.m
+++ b/matlab/reports/@graph/writeGraphFile.m
@@ -88,6 +88,10 @@ fprintf(fid, ['},\n',...
               'axis lines=box,\n'...
               'unbounded coords=jump,\n'], o.width, o.height);
 
+if ~isempty(o.title)
+    fprintf(fid, 'title=%s,\n', o.title);
+end
+
 if o.xAxisTight
     fprintf(fid, 'enlarge x limits=false,\n');
 else
diff --git a/tests/reporting/runDynareReport.m b/tests/reporting/runDynareReport.m
index ef03704fc43bbefe6c078cad813b75d3382f4e0c..835b229f3e7c9a374d36fb312bcae68c24d8f349 100644
--- a/tests/reporting/runDynareReport.m
+++ b/tests/reporting/runDynareReport.m
@@ -146,7 +146,7 @@ rep = CommResidTablePage(rep, db_q, dc_q, trange, dates('2012q2'));
 %Page 1
 rep = rep.addPage('title', 'Jan1 vs Jan2', ...
                   'titleFormat', '\large\bfseries');
-rep = rep.addSection('height', '60mm');
+rep = rep.addSection();
 
 rep = rep.addGraph('title', 'World Real Oil Price Index', ...
                    'xrange', prange, ...