Effacer les filtres
Effacer les filtres

TeX output on EPS file

1 vue (au cours des 30 derniers jours)
Matthew
Matthew le 14 Avr 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 commentaire
Oleg Komarov
Oleg Komarov le 14 Avr 2012
Please provide sample x5 and y5, bottomlimit and toplimit.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by