Home | News | Documentation | Download

SetTickSize() and SetTickLength() - any difference between the two?

Quick question regarding SetTickSize() and SetTickLength() for axis when drawing figures.

Is there any difference between these two functions or are they aliases for each other?

    virtual void     SetTickLength(Float_t length=0.03);               // *MENU*
    virtual void     SetTickSize(Float_t size=0.03) {SetTickLength(size);}

from

They are the same. Historically it was SetTickLength() (see the code pointed by @dastudillo ) but the mistake was so common (people using SetTickSize()) that we made this alias.

Ok thank you for clarifying - just wanted to make sure this wasn’t something that might be affecting other issues I’m having (see recent posts)

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