reporting: @series: change lineWidth to graphLineWidth
parent
f6ff010b36
commit
b631fc1d7f
|
@ -45,9 +45,9 @@ disp(' ');
|
||||||
disp([' ''' o.graphLineStyle '''']);
|
disp([' ''' o.graphLineStyle '''']);
|
||||||
|
|
||||||
disp(' ');
|
disp(' ');
|
||||||
disp([name '.line_width = ']);
|
disp([name '.graphLineWidth = ']);
|
||||||
disp(' ');
|
disp(' ');
|
||||||
disp([' ''' o.line_width '''']);
|
disp([' ''' o.graphLineWidth '''']);
|
||||||
|
|
||||||
disp(' ');
|
disp(' ');
|
||||||
disp([name '.graph_marker = ']);
|
disp([name '.graph_marker = ']);
|
||||||
|
|
|
@ -38,7 +38,7 @@ assert(ischar(o.graphLineColor), '@series.getLine: graphLineColor must be a stri
|
||||||
valid_line_style = {'none', '-', '--', ':', '-.'};
|
valid_line_style = {'none', '-', '--', ':', '-.'};
|
||||||
assert(any(strcmp(o.graphLineStyle, valid_line_style)), ...
|
assert(any(strcmp(o.graphLineStyle, valid_line_style)), ...
|
||||||
['@series.getLine: graphLineStyle must be one of ' strjoin(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']);
|
'positive number']);
|
||||||
|
|
||||||
% GraphMarker
|
% GraphMarker
|
||||||
|
@ -72,7 +72,7 @@ opt = {opt{:}, 'YData', ds.data};
|
||||||
|
|
||||||
opt = {opt{:}, 'Color', o.graphLineColor};
|
opt = {opt{:}, 'Color', o.graphLineColor};
|
||||||
opt = {opt{:}, 'LineStyle', o.graphLineStyle};
|
opt = {opt{:}, 'LineStyle', o.graphLineStyle};
|
||||||
opt = {opt{:}, 'LineWidth', o.lineWidth};
|
opt = {opt{:}, 'LineWidth', o.graphLineWidth};
|
||||||
|
|
||||||
if ~isempty(o.graphMarker)
|
if ~isempty(o.graphMarker)
|
||||||
opt = {opt{:}, 'Marker', o.graphMarker};
|
opt = {opt{:}, 'Marker', o.graphMarker};
|
||||||
|
|
|
@ -37,7 +37,7 @@ o.data = '';
|
||||||
|
|
||||||
o.graphLineColor = 'k';
|
o.graphLineColor = 'k';
|
||||||
o.graphLineStyle = '-';
|
o.graphLineStyle = '-';
|
||||||
o.lineWidth = 0.5;
|
o.graphLineWidth = 0.5;
|
||||||
|
|
||||||
o.graphMarker = '';
|
o.graphMarker = '';
|
||||||
o.graphMarkerEdgeColor = 'auto';
|
o.graphMarkerEdgeColor = 'auto';
|
||||||
|
|
Loading…
Reference in New Issue