1unset key 2unset colorbox 3 4set walls 5set xyplane 0.0 6set isosamples 75, 25 7set palette cubehelix 8set parametric 9set urange [ 0.00000 : 31.4159 ] 10set vrange [ 0.00000 : 6.28319 ] 11set xrange [-5:5] 12set yrange [-5:5] 13 14set pm3d implicit at s 15set pm3d depthorder 16set pm3d border linecolor rgb "black" linewidth 0.500 dashtype solid 17 18set multiplot layout 2,2 title "2D projections of a 3D surface" font "/:Bold" 19 20set title "general view " 21set view 60, 160, 1, 1.2 22unset tics 23 24set arrow 1 from graph 0,0,0 to graph 1.20,0,0 filled size graph .05, 15 25set arrow 2 from graph 0,0,0 to graph 0,1.25,0 filled size graph .05, 15 26set arrow 3 from graph 0,0,0 to graph 0,0,1.25 filled size graph .05, 15 27set label 1 at graph 1.30,0,0 "X" center 28set label 2 at graph 0,1.35,0 "Y" center 29set label 3 at graph 0,0,1.35 "Z" center 30 31splot (1-0.1*u*cos(v))*cos(u),(1-0.1*u*cos(v))*sin(u),0.1*(sin(v)+u/1.7-10) with pm3d 32 33unset for [i=1:3] arrow i 34unset for [i=1:3] label i 35unset view 36 37set title "set view projection xz" 38set xlabel "X-axis" offset 0,0 39set ylabel "Y-axis" offset 0,0 40set zlabel "Z-axis" offset 0,0 41set xlabel rotate by -270 42set xtics -4,2,4 43set ytics -4,2,4 44set ztics 0.5 45set tics nomirror scale 0.5, 0.5 46set view projection xz 47replot 48 49set xlabel norotate 50 51set title "set view projection yz" 52set view projection yz 53replot 54 55set title "set view map" 56set view projection xy 57replot 58 59unset multiplot 60 61pause -1 "Hit return to continue" 62reset 63