Filter löschen
Filter löschen

TeX output on EPS file

1 Ansicht (letzte 30 Tage)
Matthew
Matthew am 14 Apr. 2012
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 Kommentar
Oleg Komarov
Oleg Komarov am 14 Apr. 2012
Please provide sample x5 and y5, bottomlimit and toplimit.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by