Labels on both sides: hpx->Draw("X+Y+")

Dear rooters.
I want labels on both sides, so I try:

However I expect the left Y labels outside and ticks inside the frame.
See att gif.

root 5.23/02 on sl5.2

Cheers
Otto


Hi Otto,

Why not simply doing:

root [0] gStyle->SetPadTickY(2)
root [1] gStyle->SetPadTickX(2)
root [2] hpx->Draw();

It gives the attached image.


Hi Olivier,
thanks,
I just wonder why my "complication"changes the outcome.
Otto

Surely what you did was a bit complicated but I agree that it should not have behaved that way. That’s is not a big problem as the workaround is really simple (and simpler) but that’s worth looking at it.