Skip to content
Snippets Groups Projects
Commit aad042ec authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: change legend_boxoff to showLegendBox

parent af11f644
Branches
Tags
No related merge requests found
......@@ -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 && ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment