About 16,700,000 results
Open links in new tab
  1. Plotting Functions in Gnuplot - GeeksforGeeks

    Sep 27, 2024 · Problem: Plot the 3D surface of the function f(x,y) = sin(x) * cos(y). Solution: Use set dgrid3d to enable grid for 3D plotting, then use splot sin(x) * cos(y) to generate the 3D …

  2. How to define a function with 3 variables in GNUPLOT

    Nov 22, 2015 · I am new to GNUPLOT. I am trying to plot 3d vector fields. However I am having trouble defining a function of three variables f(x,y,z). Can anyone show me how to do this …

  3. Plotting functions « Gnuplotting

    Apr 27, 2010 · As you have seen in this short tutorial, plotting a function with gnuplot is easy, you only have to tweak a little bit on the appearances of the figure. Now you can have a look at …

  4. Plotting Data with gnuplot - Harvey Mudd College

    Plotting functions in gnuplot is really quite easy. Suppose you want to plot the function f (x) = exp (-x^2 / 2). In gnuplot, exponentiation uses **, not ^. So, after starting up gnuplot, at the …

  5. GNUPLOT 4.2 - A Brief Manual and Tutorial - Duke University

    Dec 18, 2002 · plot is used to plot 2-d functions and data, while splot plots 3-d surfaces and data. Syntax: plot {[ranges]} {[function] | {"[datafile]" {datafile-modifiers}}} {axes [axes] } { [title-spec] } …

  6. gnuplot - How do I define a function in parts for plotting ... - Super User

    plot f(x)*(x<0.8) + g(x) * (x>=0.8)*(x<0.93) + h(x)*(x>=0.93) I find that easy to read, but it has the disadvantage that all f(x), g(x) and h(x) will always be evaluated. You can also use the ternary …

  7. Gnuplot tutorial - Physics - University of Utah

    Mar 2, 2011 · 3d Plots Basics. It is also possible in gnuplot to plot functions of two variables, eg z=f(x,y). Or equivalently data files which represent such a function. The command to do this is …

  8. User-defined variables and functions - gnuplot

    New user-defined variables and functions of one through twelve variables may be declared and used anywhere, including on the plot command itself. User-defined function syntax: <func …

  9. In Gnuplot, how to plot a function many times on the same plot

    Sep 27, 2013 · To plot several function into one graph, you must either use only one plot command, and separate the functions with commas: plot f(x), g(x), h(x) This would plot all …

  10. plot and splot are the primary commands in Gnuplot. They plot functions and data in many many ways. plot is used to plot 2-d functions and data, while splot plots 3-d surfaces and data. …