#6 Plotting functions with user defined equation Suppose you - TopicsExpress



          

#6 Plotting functions with user defined equation Suppose you want to plot the function f(x) = exp(-x^2 / 2). In gnuplot, exponentiation uses **, not ^. So, after starting up gnuplot type, gnuplot> plot exp(-x**2 / 2) If you want to specify range you can specify these in a [minimum:maximum] form before the function. Specify the x range first, then the y range. You may leave off the y range, or both. We can revise our previous plot command to: plot [-4:4] exp(-x**2 / 2) Here, the y range will be automatically determined.
Posted on: Sun, 10 Nov 2013 20:26:32 +0000

Trending Topics



Recently Viewed Topics




© 2015