Could somebody suggest me how to initiate and end the superscript in a Gadfly
plot using Julia
correctly? Or if there are any other better solutions instead of using <sup></sup>
, please also share them with me.
Thanks so much.
using Gadfly
ticks = [400, 1000, 1500, 2000, 2500, 3000, 3500, 4000]
Gadfly.plot(PET, x = :Wavenumber, y = :Transmittance, Geom.line,
Coord.cartesian(xflip=true, xmin=400, xmax=4000, ymax=100, ymin=0),
Scale.x_continuous(maxticks=2000),
Guide.xticks(ticks=ticks),
Guide.xlabel("Wavenumber (cm<sup>-1</sup>)"),
Guide.ylabel("Transmittance (%)"))