Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Plotting in gnuplot

  1. Dec 2, 2006 #1
    I want to plot in gnuplot the function , with the range being:



    What is the command?

    Thanks in advance, fellows.
  2. jcsd
  3. Dec 2, 2006 #2
    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: Dec 2, 2006
  4. Dec 2, 2006 #3
    set xrange[-5:5]
    set yrange[-5:5]
    set zrange[0:3]
    splot -x*x/8.0 - y*y/8.0 + 2
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook