How to change number of bins when I use ntuple->Draw()?

Hello!

How to change number of bins (of bin size) when I use ntuple->Draw() ?

void ReadNTuple()
{
   TFile *f = new TFile("D:\\Data_work\\basic.root");
   TNtuple *my_ntuple = (TNtuple*)f->GetObjectChecked("ntuple", "TNtuple");
   
   my_ntuple->Draw("x");
}

Thanks for advance.

Search for “>>” in the TTree::Draw method description.

Or here: root.cern.ch/doc/master/classTT … c468523e45
It is easier to read :slight_smile: