# set textcolor '#cccccc' # set the color and font of the text of the axis text_color = '#c7ae95' background_color = '#1c2023' grid_color = '#ff0000' my_font = "Ubuntu Regular, 12" my_axis_width = "1.5" set terminal qt enhanced size 1920,1080 persist title "Vocal Game Audio" ctrl set xtics textcolor rgb text_color font my_font set ytics textcolor rgb text_color font my_font set ztics textcolor rgb text_color font my_font set title "Vocal Game Audio" textcolor rgb text_color font my_font set xlabel "Sample index (44.1kHz)" textcolor rgb text_color font my_font set ylabel "Sample value" textcolor rgb text_color font my_font # set zlabel "Z Label (unit)" textcolor rgb text_color font my_font set border 31 lw @my_axis_width lc rgb text_color # set the text color and font for the label set label textcolor rgb text_color font my_font # set the color and width of the axis border # set border 31 lw @my_axis_width lc rgb text_color # set key options # set key outside box width 2 height 2 enhanced spacing 2 set key textcolor rgb text_color # set grid color #set grid lc rgb grid_color # Hack to make QT have programmable background color # from https://stackoverflow.com/questions/27269578/gnuplot-change-background-color set object rectangle from screen 0,0 to screen 1,1 behind fillcolor rgb background_color fillstyle solid noborder set yrange [0:255] plot 'out.dat' with lines, 'converted.dat' with lines # Let the user interact with it, e.g. right click drag to zoom in pause mouse close