TH2F Draw(), take off one axis

Hi rooters,
I would like to draw a TH2F displaying only the y-axis. How does one do that? I am not able to achieve my aim using the line below as it takes off both axes for x and y

h2->Draw("COLZ A")


I’d say that You can define new TGaxis using the parameters of Your pad
TGaxis axis(pad->GetUxmax(),pad->GetUymin(),pad->GetUxmax(),pad->GetUymax(),0,1e-3);
for example and then also
axis.ImportAxisAttributes(h2 -> GetYaxis());
and finaly
h2 -> Draw(“COLZ A”);
axis -> Draw();

hope I’m right and that it helps.