TeX output on EPS file

Hi,
When I save a figure as an eps file, the TeX in the text segments does not appear correctly. Whilst "V_out" displays correctly, \Omega comes out as a vertical pipe character and \mu comes out as an infinity symbol.
Here's my code:
r5='R=100k\Omega';
comment5='(Heavy damping)';
xText='t/\mus';
yText='V_{out}/V';
plot(x5,y5);
axis([bottomlimit toplimit -1.5 2.5]);
text(12000,2.0,r5,'FontSize',18,'HorizontalAlignment','center','VerticalAlignment','middle');
text(12000,1.75,comment5,'FontSize',12,'HorizontalAlignment','center','VerticalAlignment','middle');
xlabel(xText,'FontSize',14);
ylabel(yText,'FontSize',14,'Rotation',0.0,'Position',[-3500 1.55 0]);
print -depsc transient5.eps;
Any ideas what could be going wrong?
With very many thanks,
Matthew.

1 Comment

Please provide sample x5 and y5, bottomlimit and toplimit.

Sign in to comment.

Answers (0)

Categories

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

Products

Tags

Asked:

on 14 Apr 2012

Community Treasure Hunt

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

Start Hunting!