The solution for error: set terminal aqua enhanced title "Figure 1" size 560 420 font "*,6" dashlength 1 setenv("GNUTERM","QT")