How do I get and Angstrom symbol to export to an eps?
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I am trying to export a plot to eps. The axis are in Angstroms and I would like to use the Angstrom symbol as the axis label (it's an A with a little circle above it or char(197)). When I export it using the font Helvetica, it works fine. When I export it using Times New Roman, the font I would like to use, it just prints an A. The eps file has the character listed as \305\ which I think is correct.
Does anyone have any idea how to fix this? I'm using Matlab R2013b.
Thanks
0 comentarios
Respuestas (1)
Sreeja Banerjee
el 11 de Jun. de 2015
I tried to change the font from Helvetica to Times New Roman and I did not see a difference. The code I tried is given below:
>> plot(rand(5))
>> xlabel('units in \AA','Interpreter','latex')
>> ylabel('units in \AA','Interpreter','latex','Fontname','TimesNewRoman')
>> print -depsc fig.eps
I also tried in PDF and PNG formats and did not see an issue.
>> print -dpng fig.png
>> print -dpdf fig.pdf
If you are still facing the same issue then please attach the code for further help.
0 comentarios
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!