I have been looking all week for a way to plot a 3D graph using 4
columns from a data file. The first three columns correspond to
position of particles and the fourth, to their temperature. I would
like to plot a 3D graph showing a surface of a certain temperature.
Any idea?
modis
Version 4.2 answers and examples
Coloring particles (points) in 3D with arbitrary colors:
http://gnuplot.sourceforge.net/demo_4.2/rgb_variable.html
http://gnuplot.sourceforge.net/demo_4.2/world2.html
In a nutshell the command would look something like
plot "datafile" using 1:2:3:4 with points palette
or
plot "datafile" using 1:2:3:4 with points lc rgb variable
depending on how you are assigning colors.
Calculating a surface from a set of separate points is a whole
other kettle of fish. I'm not much use as an advisor on that issue.
--
Ethan A Merritt