Hi,
Can you try with 5.12 ? I have done some fixes in that area.
If the problem still persist can you send a small exmaple reproducing
your problem ?
I have several ideas about what "too fine" means, but I may pick the
wrong one....
Cheers, Olivier
-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch
[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Alexander Wagner
Sent: Thursday, August 17, 2006 5:43 PM
To: Roottalk
Subject: [ROOT] Plotting 3d (TGraph2D) data
Hi!
Could it be that if I want to plot 3d data using a TGraph2D, that the grid is to fine? What I do essentially is using a csv input file looking somewhat like
x-column y-column z-value
fill it into a TGraph2D object by some read in routine. I find that this works fine as long as the "grid" of the data is not "to fine". That is I have a grid -2000..2000 in both dimensions and I get a suitable plot if I grid it at 200, 400 and so on, but I get essentially a single centred spike at 0,0 once I use a finer grid of 50, 100, 150...
Also I find some (looks like random) spikes once I produce the plot with root compared to the same data feeded to gnuplot.
Could this be an artefact from the delauny interpolation? Or should I search for some bug in my macro? The strange thing is that it happens only if I use to fine a grid...
(Unfortunately the macros involved are not that easily cooked down to 5 essential lines...)
Root is at 5.11 on Debian GNU Linux 3.0.
-- Kind regards, / War is Peace. | Freedom is Slavery. Alexander Wagner | Ignorance is Strength. | | Theory : G. Orwell, "1984" / In practice: USA, since 2001Received on Thu Aug 17 2006 - 18:02:54 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET