UTILLib 2.0
Common C++ library with utilities.
Loading...
Searching...
No Matches
gnuplot.h File Reference

Simple wrapper to simplify plotting using the gnuplot application. More...

#include <string>
#include "util/csvwriter.h"
Include dependency graph for gnuplot.h:

Go to the source code of this file.

Classes

class  util::plot::GnuPlot
 Simple wrapper around the gnuplot application that do plotting. More...

Namespaces

namespace  util
 Main namespace for the util library.
namespace  util::plot
 The plot namespace is used for plotting related classes and functions.

Enumerations

enum class  util::plot::GnuTerminal { util::plot::wxt = 0 }
 Types of gnuplot output devices. More...

Detailed Description

The gnuplot fetch all its information from a CSV file, so the trick is to add all necessary information to that CSV file.

The plot support 2 Y-axis and one X-axis. The X-axis shall be the first column in the CSV file followed by the Y-axis columns.

It may be more than 2 Y-values on each axis as long as they have the same unit.