help-octave
[Top][All Lists]

## Re: Newbie symbol font question

 From: Quentin Spencer Subject: Re: Newbie symbol font question Date: Mon, 02 Jun 2003 11:18:45 -0600 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

Manojit Roy wrote:


Hello,

I have recently started using Octave, and have a question of how to use
symbol font in plot legends and axes labels, like <gplot data u 1:3
title("delta=0")>, and <gset xlabel "alpha">. Thanks for help.

Manojit

If I understand correctly, you're trying to get the greek characters alpha and delta, which you could get by using the commands \alpha and \delta in MATLAB. As far as I know, gnuplot does not have the capability to display these characters on the screen, but you can use LaTeX commands to get the greek characters in some output formats, such as xfig. Unlike MATLAB, you would need to put "\$" characters before and after the commands to put LaTeX into math mode. Also, because octave's string processing commands treat "\" as a special character, you may need to use "\\" instead of "\". See the recent discussion on the mailing list about this.

Quentin

-------------------------------------------------------------
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
-------------------------------------------------------------