From f9f9d7de0dedc8957d0774f5ce2755be976571e8 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Tue, 14 May 2013 16:38:45 +0200
Subject: [PATCH] reporting: @series: change lineWidth to graphLineWidth

---
 matlab/reporting/@series/display.m | 4 ++--
 matlab/reporting/@series/getLine.m | 4 ++--
 matlab/reporting/@series/series.m  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/matlab/reporting/@series/display.m b/matlab/reporting/@series/display.m
index cce508ccd4..3d6065beb6 100644
--- a/matlab/reporting/@series/display.m
+++ b/matlab/reporting/@series/display.m
@@ -45,9 +45,9 @@ disp(' ');
 disp(['     ''' o.graphLineStyle '''']);
 
 disp(' ');
-disp([name '.line_width = ']);
+disp([name '.graphLineWidth = ']);
 disp(' ');
-disp(['     ''' o.line_width '''']);
+disp(['     ''' o.graphLineWidth '''']);
 
 disp(' ');
 disp([name '.graph_marker = ']);
diff --git a/matlab/reporting/@series/getLine.m b/matlab/reporting/@series/getLine.m
index 65717cc232..c1f61c61c4 100644
--- a/matlab/reporting/@series/getLine.m
+++ b/matlab/reporting/@series/getLine.m
@@ -38,7 +38,7 @@ assert(ischar(o.graphLineColor), '@series.getLine: graphLineColor must be a stri
 valid_line_style = {'none', '-', '--', ':', '-.'};
 assert(any(strcmp(o.graphLineStyle, valid_line_style)), ...
        ['@series.getLine: graphLineStyle must be one of ' strjoin(valid_line_style, ' ')]);
-assert(isfloat(o.lineWidth), ['@series.getLine: lineWidth must be a ' ...
+assert(isfloat(o.graphLineWidth), ['@series.getLine: graphLineWidth must be a ' ...
                     'positive number']);
 
 % GraphMarker
@@ -72,7 +72,7 @@ opt = {opt{:}, 'YData', ds.data};
 
 opt = {opt{:}, 'Color', o.graphLineColor};
 opt = {opt{:}, 'LineStyle', o.graphLineStyle};
-opt = {opt{:}, 'LineWidth', o.lineWidth};
+opt = {opt{:}, 'LineWidth', o.graphLineWidth};
 
 if ~isempty(o.graphMarker)
     opt = {opt{:}, 'Marker', o.graphMarker};
diff --git a/matlab/reporting/@series/series.m b/matlab/reporting/@series/series.m
index 44eb3e91e6..f107566acc 100644
--- a/matlab/reporting/@series/series.m
+++ b/matlab/reporting/@series/series.m
@@ -37,7 +37,7 @@ o.data = '';
 
 o.graphLineColor = 'k';
 o.graphLineStyle = '-';
-o.lineWidth = 0.5;
+o.graphLineWidth = 0.5;
 
 o.graphMarker = '';
 o.graphMarkerEdgeColor = 'auto';
-- 
GitLab