# set terminal png transparent nocrop enhanced font arial 8 size 420,320 # set output 'surface1.24.png' set dummy u,v set parametric set view 70, 20, 1, 1 set samples 51, 51 set isosamples 20, 20 set mapping spherical set style data lines set title "Test of spherical coordinates" 0.000000,0.000000 font "" set xlabel "X axis" -3.000000,-2.000000 font "" set xrange [ * : * ] noreverse nowriteback # (currently [0.00000:15.0000] ) set ylabel "Y axis" 3.000000,-2.000000 font "" set yrange [ * : * ] noreverse nowriteback # (currently [0.00000:15.0000] ) set zlabel "Z axis" -5.000000,0.000000 font "" set zrange [ -1.20000 : 1.20000 ] noreverse nowriteback sinc(u,v) = sin(sqrt(u**2+v**2)) / sqrt(u**2+v**2) xx = 6.08888888888889 dx = 1.11 x0 = -5 x1 = -3.89111111111111 x2 = -2.78222222222222 x3 = -1.67333333333333 x4 = -0.564444444444444 x5 = 0.544444444444445 x6 = 1.65333333333333 x7 = 2.76222222222222 x8 = 3.87111111111111 x9 = 4.98 xmin = -4.99 xmax = 5 n = 10 zbase = -1 splot "glass.dat"