help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I get an angstrom symbol in Octave?


From: Dmitri A. Sergatskov
Subject: Re: How can I get an angstrom symbol in Octave?
Date: Sat, 21 Sep 2019 21:54:12 -0500

On Sat, Sep 21, 2019 at 9:07 PM Brett Green <address@hidden> wrote:
>
> Using single quotes (without $) was all I needed to change to get the degree 
> symbol to appear. Thank you!
>
> Now I'm wondering why using single vs. double quotes makes a difference... 
> what's important, though, is that it works.
>
> ...Actually, I may have written that prematurely. Although I can get the 
> degree symbol, I still can't get the angstrom symbol. \AA and \r{A} were 
> suggested but neither worked. Any ideas why not?
>
> - Brett Green
>

Octave has just a tiny subset of TeX.
I think you should figure out why cat-n-paste did not work.
Was it actual pasting that did not work, or paste worked but symbols did not
show up on the plot screen? (In that case may be the default font on
Windows does not
have Å. Try Cambria instead.

I can do something like:

octave:1> plot(1:10)
octave:2> title ("Å", "fontname", "cambria", "fontsize", 24)
octave:3> xlabel("დრო", "fontname", "noto georgian")
octave:4> ylabel("Nhiệt độ", "fontname", "cambria")

And get the attached plot.

Dmitri.
--

Attachment: plot_fonts.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]