| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A trivial gnuplot interface for c++.
There are many libraries providing the same solution, such as gnuplot-iostream. gnuplot-cpp aims at being lightweight and super easy to use. It functions by piping data to a gnuplot subprocess.
#include "gnuplot.h"
int main(){
GnuplotPipe gp;
gp.sendLine("plot [-pi/2:pi] cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))");
return 0;
}Result:
| Back | FazBrowse Home | New Git URL |