Which draw option should i use?

Dear ROOTers,

I notice in the manual that the “p” option is valid only for 1d histogram. How can I plot points in a 3d volume?

I’m using a 2d histogram (because i want to fit a curve passing through these points) with bin content as Z coordinate, but i cannot have a 3d plot with markers.

I see in manual that graphs are only 2d.

What is the better way to plot some points in a 3d space and the curve obtained from the fit?


see class TGraph2D and tutorial graph2dfit