Commit 333d515f authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: change legend_boxoff to showLegendBox

parent 80c9bf6c
...@@ -112,7 +112,7 @@ if o.showLegend ...@@ -112,7 +112,7 @@ if o.showLegend
'location', o.legend_location); 'location', o.legend_location);
set(lh, 'FontSize', o.legend_font_size); set(lh, 'FontSize', o.legend_font_size);
set(lh, 'interpreter', 'latex'); set(lh, 'interpreter', 'latex');
if o.legend_boxoff if ~o.showLegendBox
legend('boxoff'); legend('boxoff');
end end
end end
......
...@@ -54,8 +54,8 @@ o.shade_opacity = .2; ...@@ -54,8 +54,8 @@ o.shade_opacity = .2;
o.showGrid = true; o.showGrid = true;
o.legend_boxoff = false;
o.showLegend = false; o.showLegend = false;
o.showLegendBox = false;
o.legend_location = 'SouthEast'; o.legend_location = 'SouthEast';
o.legend_orientation = 'horizontal'; o.legend_orientation = 'horizontal';
o.legend_font_size = 8; o.legend_font_size = 8;
...@@ -95,7 +95,7 @@ assert(ischar(o.ylabel), '@graph.graph: ylabel file must be a string'); ...@@ -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(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.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.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(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(islogical(o.zeroline), '@graph.graph: zeroline must be either true or false');
assert(isfloat(o.shade_opacity) && length(o.shade_opacity)==1 && ... assert(isfloat(o.shade_opacity) && length(o.shade_opacity)==1 && ...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment