|
From: Ian M. <ibm...@gm...> - 2008-03-07 16:17:15
|
Hi, I've got a 2D histogram in binary format (floats) which I'd like to plot as a surface in 3D using splot. So far I'm doing: splot 'corr_990136_frameavg_MR.img' binary format="%float" record=200x200 dx=1e-1 u (log($1)) w pm3d (I'm not particularly attached to the log, but I notice that I do at least need 'u 1') This gives me roughly what I want (as attached), but I'd like the ticks (x and y) to be in different units, which is where it gets tricky. As far as I can see I should use array=200x200 instead of record=200x200 and then set the dx and dy I want, except that doing this causes gnuplot to display the data as values on a plane (I can still see it because of the pm3d display). So what can I do to either get record=200x200 to use the grid spacing I want or array=200x200 to take the z values from the datafile? (Gnuplot Version 4.2 patchlevel 2) Thanks for your time. -- imalone |