I have 2 questions:
1)
I have a 2d histogram. I want give a color, say “blue”, to the points that satisfy some condition and some other color to other points.
I want to plot a 2d scater plot, TGraph2D, but instead of points I want to show bar. I tried wtih
gr->Draw(“bar”)
Ok, it puts a marker. But I want to put a vertical bar at the position of the marker. The height of the bar should show the value of the z-coordinate for the corresponding value of x and y.
For the time being you can use the option LEGO which will smooth the data set using Delaunay triangulation, generate an histogram, and plot it with option LEGO. The only way to draw a TGraph2D without smotthing is the option P or P0.