Commit b631fc1d authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: @series: change lineWidth to graphLineWidth

parent f6ff010b
......@@ -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 = ']);
......
......@@ -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};
......
......@@ -37,7 +37,7 @@ o.data = '';
o.graphLineColor = 'k';
o.graphLineStyle = '-';
o.lineWidth = 0.5;
o.graphLineWidth = 0.5;
o.graphMarker = '';
o.graphMarkerEdgeColor = 'auto';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment