Rotate axis labels with TH2F

Hi everyone
I would like to turn the axis labels by 90 at the Z axis for a TH2F. I know that this works with LabelsOption(option,axis) for TH1 but this command seems not to apply to TH2F and I can’t find any other way to do it…
thanks for any help
best regards
florian

Right now the axis a display automatically for LEGOs.
Which option are you using ?

I am using COLZ and I would like to change the labeling for the z-axis which is right of the color bar see plot attached
best regards
florian
matrix_bao.pdf (14.9 KB)

The axis you speak about is in fact connected to the palette and cannot be change like the Y-axis.