Problems while exiting root .q with canvas

analisi.C (4.2 KB) data.txt (32.6 KB)
i use this macro, i just attached also data.txt