Scale a histogram


I have a simple question. I have a ntuple and I plot variables from command line like:

ntuple->Draw(“Px >> h1(100, 0.0, 2.0)”)
ntuple->Draw(“Py >> h2(100, 0.0, 2.0)”, “”, “same”)

Here, I want to

  1. scale the histogram, and
  2. change the line and marker color.

How can I do that from command line (without going to Editor)? How should I put those options in Draw()?


After ntuple->Draw, do

h1->Scale(..) h1->SetLineColor(..)