Skip to content

How to use safe_figure if graphic includes Latex symbol? #15

@litvinen

Description

@litvinen

I do
plot(x,y75,':g','LineWidth',2);
ylabel('$\ell$','Interpreter','latex');
save_figure(gcf, 'FileName', 'figdir', '.', 'fontsize', 16)

then if I open FileName.eps, I see something like $\ell$. So, Latex interpreter is switched off when I safe the figure into file.At the same time in Matlab Window latex symbols are displayed correct.

Probably I need to use something like
save_figure(gcf, 'FileName', 'figdir', '.', 'fontsize', 16, 'latex_param' ), but an example would be very helpful.
Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions