Hi,
I can change the color of the axis on the bottom and left with
h->GetXaxis()->SetAxisColor(4)
h->GetYaxis()->SetAxisColor(4)
How can I change the color for the axis on the top and right side ?
Thanks in advance,
Ming
Hi,
I can change the color of the axis on the bottom and left with
h->GetXaxis()->SetAxisColor(4)
h->GetYaxis()->SetAxisColor(4)
How can I change the color for the axis on the top and right side ?
Thanks in advance,
Ming
It depends how you draw the top and right axis. If you use SetTIckx and SetTicky, they have the same attributes has the bottom and left axis. What are you doing exactly ? do you have a small macro ?
The macro you sen have only 2 axes. Bottom and left. I guess you want to change the color of the line frame. In that case do:
c->SetFrameLineColor(4);