Thread Subject: parts per mil (%o) symbol?

Subject: parts per mil (%o) symbol?

From: justabovemaine maine

Date: 3 Jun, 2009 15:14:01

Message: 1 of 5

quick question: anyone know how to add the 'parts per mil' symbol (%o) to an axis (without typing an 'o' after '%' )?

Subject: parts per mil (%o) symbol?

From: Jan Simon

Date: 3 Jun, 2009 17:28:01

Message: 2 of 5

Dear justabovemaine maine!

> quick question: anyone know how to add the 'parts per mil' symbol (%o) to an axis (without typing an 'o' after '%' )?

Depending on the applied font, CHAR(137) could help.

Good luck, Jan

Subject: parts per mil (%o) symbol?

From: justabovemaine maine

Date: 3 Jun, 2009 19:05:19

Message: 3 of 5

"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <h06br1$1qc$1@fred.mathworks.com>...
> Dear justabovemaine maine!
>
> > quick question: anyone know how to add the 'parts per mil' symbol (%o) to an axis (without typing an 'o' after '%' )?
>
> Depending on the applied font, CHAR(137) could help.
>
> Good luck, Jan

Thanks, Jan!

I tried using char(137) but just get a blank string. Any recommendations which font to use? i tried, ylabel(char(137),'fontname','arial') but w/ no luck. Thanks again for your help.

Subject: parts per mil (%o) symbol?

From: Jan Simon

Date: 3 Jun, 2009 22:22:01

Message: 4 of 5

Dear justabovemaine maine!

> I tried using char(137) but just get a blank string. Any recommendations which font to use? i tried, ylabel(char(137),'fontname','arial') but w/ no luck.

Damn. It works well in Matlab 5.3 and 6.5.
Now some characters are not longer available, which is not a problem of the font. Try in the command window:
  char(32:255)
The results differ between 6.5 and 2009a even for the same font.

After seeking the Matlab doc (you've done already, I assume...), I'm disappointed. The best solution, I can find is:
  ylabel('^0/_{00}', 'Interpreter', 'TeX')
The \textperthousand command does not work with the LaTeX interpreter, because the textcomp package seems to be missing. To be true, I'm quite confused by the LaTeX interpreter feature, although the TeX interpreter is really clear to me.

Good luck, Jan

Subject: parts per mil (%o) symbol?

From: Jiro Doke

Date: 7 Jun, 2009 05:45:02

Message: 5 of 5

"justabovemaine maine" <justabovemaine@gmail.com> wrote in message <h063vp$b3r$1@fred.mathworks.com>...
> quick question: anyone know how to add the 'parts per mil' symbol (%o) to an axis (without typing an 'o' after '%' )?

char(8240) should work:

ylabel(char(8240))

jiro

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com