diff --git a/matlab/reports/@report/write.m b/matlab/reports/@report/write.m
index f4b9fc6bba3b904a59ebdbad2b7d8f82d5387a9d..060f8ccda6a696f03205054c93538abc430e2876 100644
--- a/matlab/reports/@report/write.m
+++ b/matlab/reports/@report/write.m
@@ -42,6 +42,7 @@ if strcmpi(o.orientation, 'landscape')
 end
 fprintf(fid, ']{geometry}\n');
 fprintf(fid, '\\usepackage{pdflscape, booktabs, pgfplots, colortbl, adjustbox}\n');
+fprintf(fid, '\\pgfplotsset{compat=1.5.1}');
 fprintf(fid, ['\\makeatletter\n' ...
               '\\def\\blfootnote{\\gdef\\@thefnmark{}\\@footnotetext}\n' ...
               '\\makeatother\n']);