Plotting a Function in Gnuplot with Range: 0<z<3, -5<x<5, -5<y<5

  • Thread starter Thread starter Pessoa
  • Start date Start date
  • Tags Tags
    Gnuplot Plotting
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
Pessoa
I want to plot in gnuplot the function , with the range being:

c06a7dd2d438f9fbfc5e2fd7b939cd73.gif


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

What is the command?

Thanks in advance, fellows.
 
Physics news on Phys.org
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.
 
Last edited:
set xrange[-5:5]
set yrange[-5:5]
set zrange[0:3]
splot -x*x/8.0 - y*y/8.0 + 2