The other problem is the x-axis numbers. These go logarithmically from
10^{-4} to 10^4, and at the moment they are given as 1e-04, 0.001, ...
10000. What format do I use to get them in the exponential form, 10^x?
Thirdly, I want the x axis label as italic "T". There is mention of fonts
in the manual, but the only font I find other than the default, is
Helvetica. What font description do I use to get italics{T} ?
Thank you in advance for answers.
--
Dieter Britz (dieterbritz<at>yahoo.com)
> The other problem is the x-axis numbers. These go logarithmically from
> 10^{-4} to 10^4, and at the moment they are given as 1e-04, 0.001, ...
> 10000. What format do I use to get them in the exponential form, 10^x?
see e.g. http://t16web.lanl.gov/Kawano/gnuplot/tics-e.html:
set format x "10^{%L}"
> Thirdly, I want the x axis label as italic "T". There is mention of fonts
> in the manual, but the only font I find other than the default, is
> Helvetica. What font description do I use to get italics{T} ?
see e.g. http://t16web.lanl.gov/Kawano/gnuplot/plot2-e.html
gnuplot> set terminal postscript enhanced "Helvetica" 16
gnuplot> set title "Damping Function" font "Times-Roman,40"
gnuplot> set xlabel "X-AXIS" font "Helvetica,20"
gnuplot> set ylabel "Y-AXIS" font "Times-Italic,32"
gnuplot> plot exp(-x)
Nothing you could'nt have found in 2 seconds using google. ;-)
HTH
Stefan
> I am doing a multiplot, in which one plot sits above the other. I want
> both x-axes to be the same length, but because the different y scales,
> they are not. This is because the top y numbers are given as -1, 0, 1
> and the lower ones as 0.0, 0.1, 0.2.
Leaving aside the issue of format statements, I am guessing that the
more important part of your question is how to make the axes line up
exactly. Please see the demo plot
http://gnuplot.sourceforge.net/demo_4.2/margins.html
Ethan