COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### Fraction in axis labels

• Email
• Follow

Hi
Is it possible to have a fraction as an axis label? I want to show a
derivative which in latex would be \frac{dx}{dy}, as the y axis label
and then output as an eps file
Thanks

 0

See related articles to this posting

On Sat, 27 Feb 2010, colin_t wrote:

> Is it possible to have a fraction as an axis label? I want to show a
> derivative which in latex would be \frac{dx}{dy}, as the y axis label
> and then output as an eps file

If you don't mind your eps file being an inclusion to a
Gnuplot-generated LaTeX file, you could use the epslatex terminal, in
which case you can include LaTeX code in the axis labels as

set ylabel '$\frac{dy}{dx}$'

--

HTH,

Dan

 0