And the following is the code that implements the plot.
- gnuplot> set terminal png truecolor nocrop enhanced size 450,320 font "arial,8"
- Terminal type set to 'pngcairo'
- Options are ' background "#ffffff" enhanced font "arial,8" fontscale 1.0 size 450, 320 '
- gnuplot> set output 'hidden2.2.png'
- gnuplot> unset border
- gnuplot> set dummy u, v
- gnuplot> set format cb "%.1f"
- gnuplot> unset key
- gnuplot> set parametric
- dummy variable is t for curves, u/v for surfaces
- gnuplot> set view 60, 30, 1.5, 0.9
- gnuplot> set isosamples 50, 20
- gnuplot> set size ratio 0 0.55,0.9
- gnuplot> set origin 0.4,0
- gnuplot> unset xtics
- gnuplot> unset ytics
- gnuplot> unset ztics
- gnuplot> set title "3D surface sorting posted at http://forums.tssfl.com"
- gnuplot> set urange [ -3.14159 : 3.14159 ] noreverse nowriteback
- gnuplot> set vrange [ -3.14159 : 3.14159 ] noreverse nowriteback
- gnuplot> set pm3d depthorder
- gnuplot> set colorbox user
- gnuplot> set colorbox vertical origin screen 0.9, 0.15, 0 size screen 0.02, 0.5, 0 front bdefault
- gnuplot> g(x,y) = sin(-sqrt((x+5)**2+(y-7)**2)*0.5)
- 3d, 1+cos(u)+.5*cos(u)*cos(v),.5*sin(v),sin(u)+.5*sin(u)*cos(v) with pm3dwith pm