I have generated a series of points in a text file (named RedArray.txt) and would like to plot it on a canvas via ROOT.
When I do the command directly from ROOT, it works perfectly:
But I would like to do that from my C++ file. I’m writing the exact same thing (without forgetting the semicolon of course) on my C++ file, and it runs on ROOT perfectly without any error, but generates an empty canvas.
What should I do ?
Thank you very much!