|
From: Lorenzo I. <lor...@gm...> - 2007-07-27 09:55:18
|
Dear All,
I am starting to use Gnuplot for some 3D plotting. My data typically
comes in the shape of a matrix and, by looking at the examples [I am
running Gnuplot 4.0 on my box] I put together the script:
reset
set terminal postscript enhanced color
# set palette color
set title 'Evolution of Particle Distribution'
set xlabel "D_{agg}" -3,-0.5
set zlabel "dN/logD_{agg}" -12, -5
set zrange [0:3e12] noreverse nowriteback
set xrange[1:100] noreverse nowriteback
set view 70, 190, 1, 1
set ticslevel 0.1
set samples 51, 51
set isosamples 20, 20
set hidden3d offset 1 trianglepattern 3 undefined 1 altdiagonal bentover
set style data lines
set pm3d at s
set key off
splot "data_mat2" matrix with lines
set output 'my_plot_distr.ps'
replot
set terminal x11
I am almost done, but something is still missing.
For instance, the x and y axes simply count the number of data sets
there, whereas I would like to put my own scale over on those axis.
Other questions: I find the information in the official tutorial a bit
too scattered and I would like to know where I can find answers to my
previous question and to the following:
1) How to relocate the color bar? I am asking because some of the
numbers which go with it are somehow "cut" in the resulting plot.
2)choosing the font, the dimension of the axis labels, the dimension
of the numbers plotted on the axis, how to include latex expressions
and so on.
Many thanks
Lorenzo
|