# set terminal png transparent nocrop enhanced font arial 8 size 420,320 # set output 'surface1.13.png' set dummy u,v set samples 51, 51 set isosamples 21, 21 set title "3D gnuplot demo" set xlabel "X axis" set xlabel offset character -3, -2, 0 font "" textcolor lt -1 norotate set xrange [ -1.00000 : 1.00000 ] noreverse nowriteback set ylabel "Y axis" set ylabel offset character 3, -2, 0 font "" textcolor lt -1 rotate by 90 set yrange [ -1.00000 : 1.00000 ] noreverse nowriteback set zlabel "Z axis" set zlabel offset character -5, 0, 0 font "" textcolor lt -1 norotate set zrange [ -1.00000 : 1.00000 ] noreverse nowriteback splot [x=-3:3] [y=-3:3] sin(x) * cos(y)