PDA

View Full Version : Plotting in gnuplot


Pessoa
Dec2-06, 07:13 AM
I want to plot in gnuplot the function , with the range being:

http://algol.fis.uc.pt/quark/latexrender/pictures/c06a7dd2d438f9fbfc5e2fd7b939cd73.gif

0<z<3
-5<x<5
-5<y<5

What is the command?

Thanks in advance, fellows.

neutrino
Dec2-06, 08:02 AM
I think it is the set range command. I'm not sure of the syntax, but it's something like set xrange [-5:5]. You might want to check that in the help file.

jpr0
Dec2-06, 12:15 PM
set xrange[-5:5]
set yrange[-5:5]
set zrange[0:3]
splot -x*x/8.0 - y*y/8.0 + 2