TeX output on EPS file
1 view (last 30 days)
Show older comments
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
Answers (0)
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!