reporting: change legend_boxoff to showLegendBox
parent
80c9bf6c4c
commit
333d515fe9
|
@ -112,7 +112,7 @@ if o.showLegend
|
|||
'location', o.legend_location);
|
||||
set(lh, 'FontSize', o.legend_font_size);
|
||||
set(lh, 'interpreter', 'latex');
|
||||
if o.legend_boxoff
|
||||
if ~o.showLegendBox
|
||||
legend('boxoff');
|
||||
end
|
||||
end
|
||||
|
|
|
@ -54,8 +54,8 @@ o.shade_opacity = .2;
|
|||
|
||||
o.showGrid = true;
|
||||
|
||||
o.legend_boxoff = false;
|
||||
o.showLegend = false;
|
||||
o.showLegendBox = false;
|
||||
o.legend_location = 'SouthEast';
|
||||
o.legend_orientation = 'horizontal';
|
||||
o.legend_font_size = 8;
|
||||
|
@ -95,7 +95,7 @@ assert(ischar(o.ylabel), '@graph.graph: ylabel file must be a string');
|
|||
assert(ischar(o.figname), '@graph.graph: figname must be a string');
|
||||
assert(islogical(o.showGrid), '@graph.graph: showGrid must be either true or false');
|
||||
assert(islogical(o.showLegend), '@graph.graph: showLegend must be either true or false');
|
||||
assert(islogical(o.legend_boxoff), '@graph.graph: legend_boxoff must be either true or false');
|
||||
assert(islogical(o.showLegendBox), '@graph.graph: showLegendBox must be either true or false');
|
||||
assert(isint(o.legend_font_size), '@graph.graph: legend_font_size must be an integer');
|
||||
assert(islogical(o.zeroline), '@graph.graph: zeroline must be either true or false');
|
||||
assert(isfloat(o.shade_opacity) && length(o.shade_opacity)==1 && ...
|
||||
|
|
Loading…
Reference in New Issue