1
votes

I'm try to plot with legend using latex style:

legend('$\mathbb{E} $','interpreter','latex','FontSize',18);

However, I can not see on the graph, and I get the warning:

Warning: Unable to interpret TeX string "$\mathbb{E} $"

1
I would guess that the Matlab LaTeX interpreter just doesn't have the right package for \mathbb. You can try hack it: tex.stackexchange.com/questions/98760/… but maybe you can find a more standard alternative to \mathbb? - Dan
Ron, did my solution fix your issue? - krisdestruction

1 Answers

0
votes

This question has already been answered. I believe you need to install the mathbb font for the latex interpreter as noted here and here.