Change tick position in y axis

Dear experts,

I would like to change the ticks of the y axis in a histogram, such that they are drawn outside the pad and not inside. The default root configuration plots the ticks inside the pad, covering part of the histograms and making the readability of the plot difficult.

Is there any way of changing this?

Thanks a lot in advance for your answers,

See: TAxis::SetTicks

{ TH1F *h = new TH1F("h", "my h histogram;my X axis;my Y axis", 10, 0, 1); TAxis *a; a = h->GetXaxis(); a->SetTicks("-"); a->SetLabelOffset(-0.07); a->SetTitleOffset(-1.4); a = h->GetYaxis(); a->SetTicks("+"); a->SetLabelOffset(-0.03); a->SetTitleOffset(-1.2); h->Draw(); }