Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
unreadable axis labels using latex interpreter when copying figures to powerpoint

Subject: unreadable axis labels using latex interpreter when copying figures to powerpoint

From: Maureen

Date: 13 Apr, 2010 19:30:26

Message: 1 of 4

Hello-
I am trying to quickly copy figures from Matlab (R2007b) to MS Powerpoint using saveppt2.m (which, I think, copies a windows enhanced metafile to the clipboard and then pastes into Powerpoint).

When I use the default text interpreter (TeX) for axis labels, everything is fine. But when I want overlines and other fancy text labeling unsupported by TeX (I'm using LaTeX text interpreter), the axis labels look like the 'wingdings' font and are unreadable.
I'd like to copy and paste figures from Matlab to Powerpoint rather than printing figures to files and importing them (tediously) into Powerpoint.

Maybe the problem is Powerpoint doesn't support the LaTeX font. Has anyone ran into this problem? Any ideas are greatly appreciated!

-Maureen

Subject: unreadable axis labels using latex interpreter when copying figures to powerpoint

From: Andres

Date: 13 Apr, 2010 21:48:04

Message: 2 of 4

"Maureen " <mokunz.removehere@berkeley.edu> wrote in message <hq2goi$5va$1@fred.mathworks.com>...
> Hello-
> I am trying to quickly copy figures from Matlab (R2007b) to MS Powerpoint using saveppt2.m (which, I think, copies a windows enhanced metafile to the clipboard and then pastes into Powerpoint).
>
> When I use the default text interpreter (TeX) for axis labels, everything is fine. But when I want overlines and other fancy text labeling unsupported by TeX (I'm using LaTeX text interpreter), the axis labels look like the 'wingdings' font and are unreadable.
> I'd like to copy and paste figures from Matlab to Powerpoint rather than printing figures to files and importing them (tediously) into Powerpoint.
>
> Maybe the problem is Powerpoint doesn't support the LaTeX font. Has anyone ran into this problem? Any ideas are greatly appreciated!
>
> -Maureen

Yes, I can confirm this problem with vector graphics containing latex symbols.
http://www.mathworks.de/matlabcentral/fileexchange/18457-matlab-controls-and-writes-powerpoint
helped me to automate importing large numbers of image files into powerpoint, so if raster graphics are ok for you as well, that could be a workaround.

Subject: unreadable axis labels using latex interpreter when copying figures to powerpoint

From: us

Date: 13 Apr, 2010 22:25:07

Message: 3 of 4

"Maureen " <mokunz.removehere@berkeley.edu> wrote in message <hq2goi$5va$1@fred.mathworks.com>...
> Hello-
> I am trying to quickly copy figures from Matlab (R2007b) to MS Powerpoint using saveppt2.m (which, I think, copies a windows enhanced metafile to the clipboard and then pastes into Powerpoint).
>
> When I use the default text interpreter (TeX) for axis labels, everything is fine. But when I want overlines and other fancy text labeling unsupported by TeX (I'm using LaTeX text interpreter), the axis labels look like the 'wingdings' font and are unreadable.
> I'd like to copy and paste figures from Matlab to Powerpoint rather than printing figures to files and importing them (tediously) into Powerpoint.
>
> Maybe the problem is Powerpoint doesn't support the LaTeX font. Has anyone ran into this problem? Any ideas are greatly appreciated!
>
> -Maureen

one of the few solutions is outlined below
- r2010a, probably works with older ver as well...

     s=[
          '$$\pi *\left[ \begin{array}{l}',...
          '12 \\ ',...
          '12 \\ ',...
          '\end{array} \right]\mathop{{\int\!\!\!\!\!\int}\',...
          'mkern-21mu \bigcirc}\limits_{12} ',...
          '{\sum\limits_i^2 {r\sqrt {12} } } $$'
     ];
     text(.1,.5,s,'interpreter','latex','fontsize',18);
     axis off;
% open a ppt session
% add an empty slide
     print -dmeta -r600;
% in ppt:
% insert as enhanced metafile
% it IS quite nice...

us

Subject: unreadable axis labels using latex interpreter when copying figures to powerpoint

From: Jedediah Frey

Date: 4 Jun, 2010 19:30:34

Message: 4 of 4

Checkout the updated version of saveppt2. It gives an option to copy the plot as a bitmap, which means it should look exactly like it does in Matlab as it will in PowerPoint.

Plots will look a bit different because they're actually 'pictures' now instead of the Metafile, the PowerPoint presentations will probably be a bit bigger as well.

http://www.mathworks.com/matlabcentral/fileexchange/19322-saveppt2

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us