Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any 'out-of-the-box' 2D/3D plotting library for C++? [closed]

I looked at the different options for plotting functions (or other types of graphs) in an interactive window. I mostly use wxWidgets but I'd be open to any other "interfaces".

Looking at what is available, here is what I've found:

wxPlot: Not updated since 2006. But it would be a good candidate if it was...

wxMathPlot: Very new, not mature, few features (still active?)

libgraph: Outdated, not rebust, 2D only and outputs images only.

koolplot: Too basic, no control over the created window.

EasyBMP: Very basic, only images output.

plotutils: Command line only.

plplot: C and C++ API are barely maintained. It is in fact on this that wxPlot is based. Could be a could candidate also if C and C++ interface we're updated.

Any comments? Ideas?

Thanks!

like image 376
user38290 Avatar asked Nov 17 '08 17:11

user38290


People also ask

Can we plot graph in C++?

An excellent C++ library to plot graphs is ROOT. It was developed by CERN for physicists. It also includes a C++ shell, in case you want to use C++ with an interactive prompt. You can find the documentation, download links, and lots of examples, at https://root.cern/.

Which library is used to draw graphs?

Matplotlib is a low-level plotting library and is one of the most widely used plotting libraries. It is among the first choices to plot graphs for quickly visualizing some data.

How do you plot 3D graphs?

For that, select the data and go to the Insert menu; under the Charts section, select Line or Area Chart as shown below. After that, we will get the drop-down list of Line graphs as shown below. From there, select the 3D Line chart. After clicking on it, we will get the 3D Line graph plot as shown below.


1 Answers

Even though this thread is old but gold. QCustomPlot is very recommendable as well to complement this list.

like image 77
Sharky Bamboozle Avatar answered Oct 09 '22 22:10

Sharky Bamboozle