Why am I unable to see the "\times" symbol correctly in my EPS document when I open it in Adobe Illustrator (CS3)?

9 views (last 30 days)
I exported my figure to an EPS document using the following commands in MATLAB:
plot(1:10);
legend('this \times that');
print -depsc2 rep.eps
I am not seeing the "\times" symbol correctly when I open the EPS document in Adobe Illustrator (CS3)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
It is likely that the font used when exporting the "times" symbol from MATLAB to EPS is not the same as the font that Illustrator uses to interpret the TEX symbols.
Possible workarounds include:
A. Use latex instead of tex:
% create legend
l = legend('this');
% change legend string & interpreter
set(l, 'string','this $$\times$$ that', 'interpreter', 'latex')
B. Another possibility is to use "zbuffer" or "opengl" to create the EPS file with a raster (bitmap) image of the plot. This should look correct but content modification will be limited in Adobe Illustrator:
print -deps -zbuffer repimage.eps

More Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Products


Release

R2008a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!