diff --git a/matlab/reporting/@series/display.m b/matlab/reporting/@series/display.m index cce508ccd4c3331f5d105094bc4f8678561e484b..3d6065beb6a1fea0dd8a89d89336f8928174fc17 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 65717cc2321e349f270d35823e3db74460dad242..c1f61c61c4ed8d8b025c145fc79a7d6312fdfa41 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 44eb3e91e6a44e73fc107fa1261d7ecde20e7a35..f107566accafa00f839b323f8e91d46f992b11e7 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';