O'Reilly logo

Practical Scientific Computing by V Zalizniak, A Muhammad

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6

Plotting

Data visualization or plotting is an important part of scientific computing. In this chapter, we will demonstrate how to invoke the plotting capabilities of gnuplot through numEclipse. It is assumed that the user has installed the latest version of gnuplot and numEclipse preferences are configured to point to the gnuplot as shown in the installation guide on the numEclipse project website (http://www.numeclipse.org/install.html).

6.1 Simple Function Plot (fplot)

The “fplot” method is used to plot a mathematical function. It is very different from the MATLAB or Octave implementation. It can only plot the functions recognized by gnuplot. Fortunately, gnuplot has a good collection of built-in functions.

Figure 6.1

Unlike MATLAB, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required