Changing style of (individual) axis labels?

  • Follow


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
0
Reply Sebastian 1/14/2010 4:35:04 PM

Sebastian Suchanek wrote:
> 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.)

set format y '$10^%L$'

should be what you want...

Stefan
0
Reply Stefan 1/14/2010 4:44:12 PM


Stefan Nowy schrieb:
> Sebastian Suchanek wrote:
>> 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.)
> 
> set format y '$10^%L$'
> 
> should be what you want...

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
0
Reply Sebastian 1/15/2010 8:02:08 AM

2 Replies
469 Views

(page loaded in 0.56 seconds)

Similiar Articles:













7/21/2012 10:39:34 PM


Reply: