Read a 1-D histogram from a ROOT File and draw it.
We attach (or generate) the ROOT file in $ROOTSYS/tutorials/hsimple.root or $PWD/hsimple.root We draw one histogram in different formats.
$ROOTSYS/tutorials/hsimple.root
$PWD/hsimple.root
Definition in file h1ReadAndDraw.C.