There's not currently a way to do latex labels, but you can do superscript and subscript with html-style tags. In your example, use "c<sup>2</sup>".
On Friday, February 27, 2015 at 5:49:10 AM UTC-8, Andrei Berceanu wrote:
>
> I am trying to get rendering of LaTeX expressions in Gadfly axes labels,
> with
>
>
> *using Gadflyplot(x=1:10, y=rand(10), Geom.line, Geom.point,
> Guide.xlabel("$c^2$"), Guide.ylabel("E"))*
>
> however this does not seem to work. Does anyone know how to do it?
>
> //A
>
