Thread: Which C++ Linux libraries do you recommend for 2D and 3D plotting of functions?

  1. #1
    Registered User FortranLevelC++'s Avatar
    Join Date
    May 2013
    Location
    United States
    Posts
    81

    Which C++ Linux libraries do you recommend for 2D and 3D plotting of functions?

    Hello,

    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.

    https://wci.llnl.gov/codes/visit/

    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.

    Many thanks!
    Last edited by FortranLevelC++; 08-21-2013 at 01:34 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Plotting graph in turbo c++ 2.01,linux
    By suryap.kv1bbsr in forum C Programming
    Replies: 9
    Last Post: 03-25-2011, 06:44 AM
  2. plotting a 2D tire using functions.
    By clipsit in forum C Programming
    Replies: 4
    Last Post: 03-03-2008, 05:31 PM
  3. Please recommend a minimal c compiler and libraries required
    By hamsteroid in forum Windows Programming
    Replies: 1
    Last Post: 04-14-2007, 10:34 AM
  4. can you recommend a Nice Linux IDE?
    By borko-b in forum Linux Programming
    Replies: 11
    Last Post: 04-19-2006, 09:04 AM
  5. Recommend linux c++ compilers here please!
    By applescruff in forum Linux Programming
    Replies: 16
    Last Post: 02-19-2005, 09:41 AM