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: Brett Green
Subject: Re: How can I get an angstrom symbol in Octave?
Date: Sun, 22 Sep 2019 15:42:04 -0400

Sorry - I wasn't clear. If you look at https://unicode-table.com/en/00C5/, it gives "dec 50053" and "dec (bytes) 195 133". I had mistakenly been using the former, whereas I needed the latter.

- Brett Green


On Sun, Sep 22, 2019 at 1:51 PM Dmitri A. Sergatskov <address@hidden> wrote:
On Sun, Sep 22, 2019 at 12:43 PM Brett Green <address@hidden> wrote:
>
> Ah, I had been using the decimal values - that answers it! The en-dash is working now. Thank you very much!
>
> - Brett Green
>

Decimal would work too:

title([char(226),char(128), char(148)], "fontname", "cambria")

Note -- you need to use font that has the actual char in it.

E.g. this does not work:
title([char(226),char(128), char(148)], "fontname", "symbol")
warning: text_renderer: skipping missing glyph for character '2014'
warning: called from
    __axis_label__ at line 31 column 3
    title at line 51 column 8
warning: text_renderer: skipping missing glyph for character '2014'
warning: called from
    __axis_label__ at line 31 column 3
    title at line 51 column 8


Dmitri.
--

reply via email to

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