gPad->GetEventX() to axis range

Hi all,

i’d like to relate the gPad->GetEventX() value to the actual position in the TH2 axis i’m pointing to. (ultimately it will the x-bin i’m pointing to).

Is there a way to do it? Some hint at least for a contact point between them?

thanx in advance,
Cheers,

Martin

Have a look at $ROOTSYS/tutorials/graphics/mandelbrot.C

yes thanks! I’ve already found the answer surfing through $ROOTSYS/tutorials/

e,g, inside $ROOTSYS/tutorials/hist/DynamicSlice.C

Cheers, M