|
From: Anirban B. <ban...@gm...> - 2007-03-27 20:16:31
|
Thanks to all the people who responded :) . My problem was due to (as has been clearly pointed out) that 1) the data was not in the correct format, I did not separate it into blocks 2) No need to use dgrid3d if the data is OK The figures are perfect now :) Thanks, -A On 3/27/07, Anirban Banerjee <ban...@gm...> wrote: > > Hi all, > Gnuplot n00b here :) ... my question might seem a bit naive. I > searched the list for similar problems and found some answers but none were > exactly the same, and hence this mail. > > The issue I am facing is while trying to plot a 3d graph with splot using > pm3d. I have data file with data in the following format > > x y z > x1 y1 z1 > . > . > . > and so on ... > > x ranges from 1 to 500 , y from 1 to 6 and z from 1 to 100 . > > when I use splot "data" u 1:2:3 w lines/points I can see that the scale on > the z axis is 0 to 100, but as soon as I type > > set dgrid3d > splot "data" u 1:2:3 w pm3d > > the resulting graph seems to get the z axis scaled down to 0 to 18 or 30 > if I use set dgrid3d 30,30 .. why is this so..why is the z axis being > scaled??? > > Should I turn of autoscaling..? Just as an aside the data is pretty > "spiky" lots of near 100 z values surrounded by nearly 0's..etc.. > > Would really appreciate any advice on this :) . > > Thanks, > -A > |