Changing style of (individual) axis labels?

Changing style of (individual) axis labels?

Post by Sebastian » Sat, 16 Jan 2010 01:35:04


Hi group!

Starting with 1e5(?), Gnuplot starts writing axis labels in a "1e+006"
style, which I don't like very much. I'd prefer, for example, "10^6".
(I'm exporting plots into .eps files for later typesetting in LaTeX.)

Is there a way of changing the label style alltogether or at least
re-set individual labels without the need of redefining the complete axis?


TIA,

Sebastian
 
 
 

Changing style of (individual) axis labels?

Post by Stefan Now » Sat, 16 Jan 2010 01:44:12


set format y '$10^%L$'

should be what you want...

Stefan

 
 
 

Changing style of (individual) axis labels?

Post by Sebastian » Sat, 16 Jan 2010 17:02:08

Stefan Nowy schrieb:


Yes, that bascially did the trick. (A pair of curly braces is needed for
exponents with more than one digit in LaTeX: "set format y '$10^{%L}$'")

And furthermore, the documentation revealed some more juicy options for
set format - thanks a lot. :-)


Regards,

Sebastian