Subject not found.
1.

How To Plot Implicit Defined Graphs?

Answer»
  • Implicit graphs are PLOTTED indirectly.
  • The following example ILLUSTRATES the process:
    gnuplot>
    gnuplot> function(x,y) = y - x**2 / tan(y)
    gnuplot> set contour base
    gnuplot> set cntrparam levels discrete 0.0
    gnuplot> unset surface
    gnuplot> set table 'graphcurves.dat'
    gnuplot> splot function(x,y)
    gnuplot> unset table
    gnuplot> plot 'graphcurves.dat' w l

  • The function() SETS the coordinates.
  • The contour graph is defined in ‘graphcurves.dat’ FILE.
  • ‘splot’ executes the function.
  • ‘plot’ places the graph in the file ‘graphcurves.dat’ file.



Discussion

No Comment Found