Tutorial histogram/ fillRandom.C example The graph isn't drawn

I am working on a root histogram tutorial now. I solved the fillRandom.C example there, but the graph is not drawn. Let me know what’s wrong. ___

Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

Hi HyungJoe,

you wrote a function but you never called it. All your text should rather go into a fillrandom.cxx file and then you simply do root fillrandom.cxx

1 Like

I’m a beginner of programming. So how can i go into a fillrandom.cxx file? just typing in the terminal?

You should put everything you typed into a file, fillrandom.cxx. Then save it and do root fillrandom.cxx

ROOT beginners’ guide (aka “Primer”)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.