-if ~isOctave()
- set(gcf, 'defaultTextInterpreter', 'Latex');
- set(gcf, 'defaultLegendInterpreter', 'Latex');
- set(gca, 'TickLabelInterpreter', 'Latex');
-end
+set(gcf, 'defaultTextInterpreter', 'Latex');
+set(gcf, 'defaultLegendInterpreter', 'Latex');
+set(gca, 'TickLabelInterpreter', 'Latex');
set(gca, 'FontSize', 14);
leg = findobj(gcf, 'Type', 'Legend');
set(leg, 'FontSize', 14);
+set(leg, 'Interpreter', 'Latex');
+tit = get(gca, 'title');
+set(tit, 'Interpreter', 'Latex');
+xl = get(gca, 'XLabel');
+set(xl, 'Interpreter', 'Latex');
+yl = get(gca, 'YLabel');
+set(yl, 'Interpreter', 'Latex');