Commit 89b0bd09 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: change grid option to showGrid

parent a5194b4f
......@@ -41,7 +41,7 @@ end
h = figure('visible','off');
hold on;
box on;
if o.grid
if o.showGrid
grid on;
set(gca, 'GridLineStyle', '--');
end
......
......@@ -52,7 +52,7 @@ o.shade = '';
o.shade_color = [0 1 0];
o.shade_opacity = .2;
o.grid = true;
o.showGrid = true;
o.legend = false;
o.legend_boxoff = false;
......@@ -93,7 +93,7 @@ assert(ischar(o.config), '@graph.graph: config file must be a string');
assert(ischar(o.xlabel), '@graph.graph: xlabel file must be a string');
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.grid), '@graph.graph: grid must be either true or false');
assert(islogical(o.showGrid), '@graph.graph: showGrid must be either true or false');
assert(islogical(o.legend), '@graph.graph: legend must be either true or false');
assert(islogical(o.legend_boxoff), '@graph.graph: legend_boxoff must be either true or false');
assert(isint(o.legend_font_size), '@graph.graph: legend_font_size must be an integer');
......
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