summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex4wp/gnuplot.gp
blob: d7e8c0299c861cd3a53ba89fb50c2bd8c0c1d71a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
gnuplot> set hidden
gnuplot> set isosam 50
gnuplot> splot sin(x*x + y*y)/(x*x + y*y)
gnuplot> splot [-3:3] [-3:3] sin(x*x + y*y)/(x*x + y*y) 
gnuplot> splot [-4:4] [-4:4] sin(x*x + y*y)/(x*x + y*y) 
gnuplot> set title "Gnuplot 3D graph"
gnuplot> replot
gnuplot> set grid
gnuplot> replot  
gnuplot> set xlabel
gnuplot> set xlabel "X"
gnuplot> set ylabel "Y" 
gnuplot> set zlabel "Z" 
gnuplot> replot