reporting: add option ‘graphLegendName’ to addSeries

remove-priordens
Houtan Bastani 2014-05-19 12:29:54 +02:00
parent 8222d4254d
commit 9829a5e213
1 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,8 @@ o = struct;
o.data = '';
o.graphLegendName = '';
o.graphLineColor = 'black';
o.graphLineStyle = 'solid';
o.graphLineWidth = 0.5;
@ -84,6 +86,10 @@ elseif nargin > 1
end
end
if ~isempty(o.graphLegendName)
o.data = o.data.tex_rename(o.graphLegendName);
end
% Create report_series object
o = class(o, 'report_series');
end