reporting: change color to graphLineColor

remove-priordens
Houtan Bastani 2013-05-14 16:35:10 +02:00
parent b521b6adee
commit 7b97c358f3
3 changed files with 5 additions and 5 deletions

View File

@ -35,9 +35,9 @@ disp(' ');
display(o.data);
disp(' ');
disp([name '.color = ']);
disp([name '.graphLineColor = ']);
disp(' ');
disp([' ''' o.color '''']);
disp([' ''' o.graphLineColor '''']);
disp(' ');
disp([name '.line_style = ']);

View File

@ -34,7 +34,7 @@ assert(~isempty(o.data) && isa(o.data, 'dynSeries'), ['@series.getLine: must ' .
'provide data as a dynSeries']);
% Line
assert(ischar(o.color), '@series.getLine: color must be a string');
assert(ischar(o.graphLineColor), '@series.getLine: graphLineColor must be a string');
valid_line_style = {'none', '-', '--', ':', '-.'};
assert(any(strcmp(o.lineStyle, valid_line_style)), ...
['@series.getLine: lineStyle must be one of ' strjoin(valid_line_style, ' ')]);
@ -70,7 +70,7 @@ end
opt = {'XData', 1:length(ds.data)};
opt = {opt{:}, 'YData', ds.data};
opt = {opt{:}, 'Color', o.color};
opt = {opt{:}, 'Color', o.graphLineColor};
opt = {opt{:}, 'LineStyle', o.lineStyle};
opt = {opt{:}, 'LineWidth', o.lineWidth};

View File

@ -35,7 +35,7 @@ o = struct;
o.data = '';
o.color = 'k';
o.graphLineColor = 'k';
o.lineStyle = '-';
o.lineWidth = 0.5;