XAxis Range in RooPlot

Hi,
How could we set the range of a frame in RooPlot?
frame->GetXaxis()->SetRange(0,100);
Doesn’t work…

Thanks!

This works!

https://root.cern.ch/doc/v610/RooAbsRealLValue_8h_source.html

RooPlot *frame(Double_t lo, Double_t hi, Int_t nbins) const;

Thanks!