Dear Rooters,
I write a macro that draws a graph. I would like to close all existing canvas at the beginning of the macro.
Could you please show me the way to do it.
For example:
void main()
{
// Step 1: Check if there is any opening canvas, if yes then close them.
// Step 2: Create a new canvas.
// Step 3: Draw Graph.
}
Thank you very much,
Ngoc Anh,
ROOT Version: 5.34
Platform: Window 7
Compiler: Not Provided