help-octave
[Top][All Lists]

## Re: superscript, subscript, Greek characters in plot labels?

 From: Henry F. Mollet Subject: Re: superscript, subscript, Greek characters in plot labels? Date: Thu, 27 Oct 2005 13:47:16 -0700 User-agent: Microsoft-Entourage/11.1.0.040913

Presumably this is AquaTerm specific using font "Symbol, size" but here are
the four commands that create the Greek letters in subplot A of URL given
below.

gset label 1 " A)  w/a = 3.0 " at 0.25, 27.5 font "Symbol,14"
%Since Greek Capital Alpha is same as Latin A, I can do it with one command
% to create Latin A and Greek omega/Greek alpha
gset label 20 "a" at 1.35, 17.5 font "Symbol,22" % Greek alpha
gset label 30 "Sa/" at 0.58, -8.7 font ", 18"
gset label 40 "l" at 0.74, -9 font "Symbol, 20"  % Greek lambda
Henry

on 10/26/05 6:45 PM, Henry F. Mollet at address@hidden wrote:

> http://homepage.mac.com/mollet/Demography/Fig1Aug42005.png
> Not sure about subscripts and superscripts but Greek characters should work
> in labels. Should work in titles also but I have not tried.
>
> I was looking for the code but cannot find it and cannot remember because
> it's not menu driven. I'll be searching because I want to know also how I
> did it.
> Henry
>
>
> on 10/26/05 5:31 PM, Ron Crummett at address@hidden wrote:
>
>> Hi -
>>
>> Is it possible to get nicely-formatted titles and labels for plots like in
>> MATLAB?  If I want a title to read "y = x2" I can type in "title('y = x^2')"
>> and it will output it as described before, or if I want a Greek character,
>> say
>> w, I can type "\omega" like in LaTeX. Is there some way to do this in Octave?
>> If so, how?  Thanks.
>>
>> -Ron Crummett
>> ------------------------------------------------------------- Octave is
>> freely
>> available under the terms of the GNU GPL. Octave's home on the web:
>> http://www.octave.org How to fund new projects:
>> http://www.octave.org/funding.html Subscription information:
>> http://www.octave.org/archive.html
>> -------------------------------------------------------------
>
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
>

-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------