set datafile separator ','
set terminal png size 2048, 1024 font "Cascadia Mono" lw 3
set output 'reysts.png'
Remember to put the setting before the plot
command.
set xrange [0:6.4E-3]
plot 'mat.dat' matrix with image
Set dt ${number}
.
plot 'file.dat' skip 10 using 1:4 w l dt 4 t 'title_name'
set term x11
failsgnuplot> set term x11
Terminal type is now 'x11'
Options are ' nopersist enhanced'
gnuplot> Expected X11 driver: /home/jcshi/Softwares/gnuplot-5.2.8/libexec/gnuplot/5.2/gnuplot_x11
Exec failed: No such file or directory
See 'help x11' for more details
It reports that it cannot find the X11 driver. We need to set an environment variable.
export GNUPLOT_DRIVER_DIR=/opt/ohpc/pub/utils/gnuplot/5.2.8/libexec/gnuplot/5.2
gnuplot> set term x11
Terminal type is now 'x11'
Options are ' nopersist enhanced'