|
From: Andy M. <and...@gm...> - 2007-06-15 22:45:47
|
On 6/15/07, Hans-Bernhard Br=F6ker <HBB...@t-...> wrote: > Andy Main wrote: > > > What I did is create two data files, one for the surface position data > > in the form: > [...] > > and another one the same for the colour data, but with the z column > > replaced by p > > That was the wrong idea. You should just have put the 'p' (and 's') > column in the same file as x, y and z. gnuplot can pick any three or > four columns out of a multi-column data file and use them as plot > coordinates. > > Read 'help datafile', 'help pm3d' and 'help splot using' thoroughly, and > you should be able to figure out how to get the plot you need. Pay > particular attention to the concept of grid data. > Yes, I was just in the process of posting back to the list. I thought I read that the data needed to be in triples, but a nice coffee fixed this for me. Its amazing how you can tie yourself in knots for no reason! Thanks for your help, Andy. |