diff --git a/matlab/reports/@series/display.m b/matlab/reports/@series/display.m index cce508ccd..3d6065beb 100644 --- a/matlab/reports/@series/display.m +++ b/matlab/reports/@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/reports/@series/getLine.m b/matlab/reports/@series/getLine.m index 65717cc23..c1f61c61c 100644 --- a/matlab/reports/@series/getLine.m +++ b/matlab/reports/@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/reports/@series/series.m b/matlab/reports/@series/series.m index 44eb3e91e..f107566ac 100644 --- a/matlab/reports/@series/series.m +++ b/matlab/reports/@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';