reset set grid set xdata time set timefmt "%Y-%m-%d %H:%M:%S" set format x "%Y-%m-%d\n%H:%M:%S" set datafile separator "," set autoscale xy set xlabel "Date and Time (ITA)" font "Arial,10" textcolor "#0000FF" set ylabel ".\nSignal (mV)" font "Arial,10" textcolor "#0000FF" set xrange [*:*] noextend set yrange [*:*] noextend while(1) { #-----Visualizza il TITOLO----- titolo="Vonair AIR VOLTAGE Sensor No. 0 - Station in xxxxx (XX, ITALY)" set title titolo font "Arial,16" textcolor rgbcolor "#D50000" #----Plot on PNG FILE 1 (COMPLETE)---- ContaNumeroPunti=0 set terminal jpeg font arial 10 size 1024,768 set output "Vonair_x.jpg" plot "Vonair.log" using 1:(ContaNumeroPunti=ContaNumeroPunti+1,$2) with lines notitle linetype rgbcolor "#001080" unset output unset terminal #----Plot on the SCREEN--- plot "Vonair.log" using 1:2 with lines notitle linetype rgbcolor "#001080" pause 100 }