[ROOT] How to draw a TH1F histogram with compiled code?

From: Pierre-Luc Drouin (pldrouin@physics.carleton.ca)
Date: Mon Jul 29 2002 - 22:03:30 MEST


Hello,

I would like to know how i can Draw a histogram in a compiled
program. I've tried TH1F::Draw(), but I only see a blank canvas with this
command. The libraries that I use to compile are these ones:

-lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript
-lMatrix -lPhysics -lm -ldl -lpthread -rdynamic -lg2c -lMinuit -lm -ldl
-rdynamic -L/usr/local/lib/root -lCore -lCint -lHist -lGraf -lGraf3d
-lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -lpthread
-rdynamic -lg2c -L/usr/local/lib/root -lCore -lCint -lHist -lGraf -lGraf3d
-lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -lm -ldl
-lpthread -rdynamic -L/usr/X11R6/lib -lXpm -lX11 -lm -ldl -rdynamic
-lftu -lqtree -lqtree  -lg2c
-lm

Thank you!
Pierre=Luc Drouin
SNO, Carleton University



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:02 MET