How do I use gnuplot from C++? -


i want plot graphs (x,y) points generated c++ programme. can plot these data gnuplot command terminal.

but want plot same thing c++ programme, thing possible in ubuntu 16.04 lts ?

sure, install gnuplot using standard package command:

sudo apt-get update sudo apt-get install gnuplot 

after need integrate gnuplot iostream header interface gnuplot c++:

#include "gnuplot-iostream.h" 

here have example link of iostream reference: iostream example code c++


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -