Commit e65ee258 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: @graph: avoid legend crash on octave

parent aa36cf26
......@@ -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');
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