From bd11ea293e3ef98d70150850ed463da690a5275c Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Mon, 13 May 2013 17:20:32 +0200
Subject: [PATCH] reporting: change tableMarkers to showTableMarkers

---
 matlab/reports/@series/series.m | 2 +-
 matlab/reports/@series/write.m  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/matlab/reports/@series/series.m b/matlab/reports/@series/series.m
index fe5759a1b9..cb8551c074 100644
--- a/matlab/reports/@series/series.m
+++ b/matlab/reports/@series/series.m
@@ -44,7 +44,7 @@ o.graph_marker_edge_color = 'auto';
 o.graph_marker_face_color = 'auto';
 o.graph_marker_size = 6;
 
-o.table_markers = false;
+o.showTableMarkers = false;
 o.table_neg_color = 'red';
 o.table_pos_color = 'blue';
 
diff --git a/matlab/reports/@series/write.m b/matlab/reports/@series/write.m
index 30549913af..64d658a98a 100644
--- a/matlab/reports/@series/write.m
+++ b/matlab/reports/@series/write.m
@@ -42,7 +42,7 @@ assert(~isempty(o.data) && isa(o.data, 'dynSeries'), ...
 assert(ischar(o.color), '@series.write: color must be a string');
 assert(ischar(o.table_neg_color), '@series.write: table_neg_color must be a string');
 assert(ischar(o.table_pos_color), '@series.write: table_pos_color must be a string');
-assert(islogical(o.table_markers), '@series.write: table_markers must be a string');
+assert(islogical(o.showTableMarkers), '@series.write: showTableMarkers must be a string');
 assert(islogical(o.table_align_right), '@series.write: table_align_right must be a string');
 
 %% Write Output
@@ -63,7 +63,7 @@ for i=1:size(data,1)
     thisCellData = round(data(i)*precision)/precision;
 
     fprintf(fid, ' &');
-    if o.table_markers
+    if o.showTableMarkers
         if thisCellData < 0
             fprintf(fid, '\\color{%s}', o.table_neg_color);
         elseif thisCellData > 0
@@ -74,7 +74,7 @@ for i=1:size(data,1)
 
     fprintf(fid, dataString, thisCellData);
 
-    if o.table_markers
+    if o.showTableMarkers
         fprintf(fid, ']');
     end
 end
-- 
GitLab