SetTicks() only keep ticks, remove the label

Hello

I want to get ticks in four directions in one pad.
By default, ticks only show in the left and bottom directions.
Now, I used gPad->SetTicks(2,2), ticks in the right and top directions
show. But, I want to remove the labels in the right and top directions, only keep the ticks.
What should I do?

Thanks.
Yao

SetTicks(1,1)?

Thanks a lot, it works.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.