reporting: @series: change lineWidth to graphLineWidth

time-shift
Houtan Bastani 2013-05-14 16:38:45 +02:00
parent f6ff010b36
commit b631fc1d7f
3 changed files with 5 additions and 5 deletions

View File

@ -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 = ']);

View File

@ -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};

View File

@ -37,7 +37,7 @@ o.data = '';
o.graphLineColor = 'k';
o.graphLineStyle = '-';
o.lineWidth = 0.5;
o.graphLineWidth = 0.5;
o.graphMarker = '';
o.graphMarkerEdgeColor = 'auto';