Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Angstrom symbol in Matlab graphics postscript export

2,988 views
Skip to first unread message

xian...@gmail.com

unread,
Oct 20, 2005, 3:18:34 PM10/20/05
to
Hi there,

The angstrom "char(197)" symbol is not exported correctly when
exporting to a postscript file. Any way to work around this?

I have spent quite some time looking for solutions, and found there
have been other users having the same question, but no solutions found.
Any tip will be highly appreciated.

Thanks,

Xiangyun

bluesaturn[at]kellnerweg.de

unread,
Aug 19, 2009, 5:45:39 AM8/19/09
to
Hello everybody.

I have still the same problem like Xiangyun. Is there really since that time not found a workaround? The Angstrom sign is destroyed during the export to pdf as well as eps.

Kind regards
blue

Rune Allnor

unread,
Aug 19, 2009, 6:46:05 AM8/19/09
to
On 19 Aug, 11:45, "bluesaturn[at]kellnerweg.de"

<bluesat...@kellnerweg.de> wrote:
> Hello everybody.
>
> I have still the same problem like Xiangyun. Is there really since that time not found a workaround? The Angstrom sign is destroyed during the export to pdf as well as eps.

What is an 'angstrom symbol'?

Assuming this has anything to do with Ångström,
then something like

text(0.5,0.5,'\AA','interpreter','latex')
print -dpdf test.pdf

should work.

Rune

almog shalom

unread,
Jun 29, 2010, 3:24:15 PM6/29/10
to
"bluesaturn[at]kellnerweg.de" <blues...@kellnerweg.de> wrote in message <1530937725.7344.12506...@gallium.mathforum.org>...

There is an ugly workaround:
1. On the matlab figure, type A instead the angstrom symbol (that is capital A). This is to reserve space for the angstrom symbol.
2. Export to to EPS.
3. Edit, manually, the resulting EPS file, with text editor. Find the place with the "A" that you want to replace with the angstrom symbol, and type, instead, "\305" (that is: backslash-3-0-5). Save the file.
4. Now you're done. Open the EPS file with a postscript viewer and check the results.

alessandro

unread,
Mar 5, 2012, 7:58:13 AM3/5/12
to
this solution works for me:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/42478
simply put your Å in your string
0 new messages