set format x "%.0P{/Symbol p}"
set xtics pi
set grid
set term pngcairo enh font "Helvetica,14" size 480,360
set out "format_P.png"
plot 3*sin(x)