set format x "%.1f" set format y "%.0f" set grid set term pngcairo enh font "Helvetica,14" size 480,360 set out "format_f.png" plot 3*sin(x)