diff --git a/matlab/reporting/@graph/createGraph.m b/matlab/reporting/@graph/createGraph.m index a5118407740e746b04ced0fb491ed1400f0a2183..8297a54ceee89de7cd929b189d56d3b2c8d167e3 100644 --- a/matlab/reporting/@graph/createGraph.m +++ b/matlab/reporting/@graph/createGraph.m @@ -99,9 +99,9 @@ xticks = get(gca, 'XTick'); set(gca, 'XTickLabel', xlabels(ix)); if o.legend - lh = legend(line_handles, o.seriesElements.getTexNames()); - set(lh, 'orientation', o.legend_orientation); - set(lh, 'Location', o.legend_location); + lh = legend(line_handles, o.seriesElements.getTexNames(), ... + 'orientation', o.legend_orientation, ... + 'location', o.legend_location); set(lh, 'FontSize', o.legend_font_size); set(lh, 'interpreter', 'latex'); legend('boxoff');