concept LaTeX document in category gnuplot

appears as: LaTeX document
Gnuplot in Action

This is an excerpt from Manning's book Gnuplot in Action.

One very common use of gnuplot graphs is to include them as illustrations in a LaTeX document. This section presents a couple of cookbook-style recipes. First, I describe how to include a regular graphics file as an image in a LaTeX document.

As an example, let’s assume you want to include the graph from figure 10.3 in a LaTeX document. You’d have to export the graph to PDF, using the following commands:

The resulting file can then be included into a LaTeX document. The complete LaTeX document is shown in the following listing.