Which C++ Linux libraries do you recommend for 2D and 3D plotting of functions?
Which C++ Linux libraries do you recommend for 2D and 3D plots?
I would like to call plotting functions from C++, either in real-time (while the calculation is in progress, plotting the x-y or x-y-z coordinate points as soon as these are available, seeing the "growth" of the curve as the points are calculated), or if this is not possible, at least being able to call the C++ function to plot the arrays of points as soon as the calculation is finished after the array is filled with thousands of x-y or x-y-z coordinates. )
In the past, I have used the SoftIntegration C++ graphical library for the Windows operating system, but although it is very easy to call these functions, this library has limitations:
SoftIntegration Graphical Library (SIGL)
More recently I am programming only for Linux, and I have been using the "VisIt" plotting software that is very powerful, but although it can be called from C++ (with difficulty), it is primarily designed for plotting complete data files that have already been written to disk. I can say that VisIt is the "Rolls Royce" of plotting programs, due to its luxurious features, but unfortunately it seems that it is not designed for real time plotting by calling it as a function. I have been launching VisIt as a separate program, only for plotting data files that have already been created.
I will appreciate any recommendations for C++ Linux libraries that I can use to plot functions in 2D and 3D, hopefully with the ability to plot real time, or at least with the ability to plot the result by calling the plotting library from C++, after all the data points are calculated, without having to write it to disk and launch the plotting program separately.
I am planning to learn QT, since I assume that it has the capability to graph functions, but if you have other recommendations, please let me know.