(convert MATLAB script to Octave script) LaTeX rendering on an output plot
I am in the process of converting a Matlab script to Octave. I have pretty much completed the task, however I am having problems printing a specific LaTeX command correctly.
I changed the line in the m script to:
ylabel('Foobar $F=\frac{A}{B}$','Fontsize',20,'FontWeight','Bold','interpreter','latex');
For
ylabel('Foobar $F=\frac{A}{B}$','Fontsize',20,'FontWeight','Bold','interpreter','tex');
However, this does not display correctly (the original symbol in the graph is complete with format specifiers).
I don't understand why this is the case, as I have been successfully using LaTeX commands in the same plot - and they work correctly.
Is there something wrong with the LaTeX commands above ?. It should display as a fraction (A over B).
+3
source to share