diff --git a/matlab/reporting/@graph/createGraph.m b/matlab/reporting/@graph/createGraph.m index d702a8d7d387d6a2a2016dc062ceff3fed1da044..9bfaf4878366ab4c99baee2c96669754418612d6 100644 --- a/matlab/reporting/@graph/createGraph.m +++ b/matlab/reporting/@graph/createGraph.m @@ -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 diff --git a/matlab/reporting/@graph/graph.m b/matlab/reporting/@graph/graph.m index 8b89dcca6e53e72a6703ac848f9d8e5382fdc132..3d7ce0c3fb3e1d336bf9c9373ecd543d7d698705 100644 --- a/matlab/reporting/@graph/graph.m +++ b/matlab/reporting/@graph/graph.m @@ -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');