Range of y axis

it is possible to change the range of y axis interactively by using setrangeuser. But it is not possible in case of y axis. i m using root3.10.
please help. thanks in advance. :exclamation:

If you are plotting an histogram, let say “h”, you can do:

h->SetMinimum(ymin);
h->SetMaximum(ymax);