concept linespoint in category gnuplot

appears as: linespoints
Gnuplot in Action: Understanding Data with Graphs

This is an excerpt from Manning's book Gnuplot in Action: Understanding Data with Graphs.

By default, data points from a file are plotted using unconnected symbols. Often this isn’t what we want, so we need to tell gnuplot what style to use for the data. This is done using the with directive. Many different styles are available. Among the most useful ones are with linespoints, which plots each data point as a symbol and also connects subsequent points, and with lines, which just plots the connecting lines, omitting the individual symbols.

plot "prices" using 1:2 with lines, "prices" using 1:3 with linespoints
plot "data" u 1:2 with lines, "" u 1:3 with linespoints, "" u 1:4 with points

There are four styles I would call “core” styles, because they are so generally useful: with points, with lines, with linespoints, and with dots. These styles represent data with simple symbols or lines on the plot (see figure 5.3).

Figure 5.3. The four core styles: with points, with lines, with linespoints, and with dots
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage