Is there any "ready-made" 2D-3D graphics for C ++?

I looked at various options for constructing functions (or other types of graphs) in an interactive window. I mainly use wxWidgets, but I would be open to any other "interfaces".

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

wxPlot : not updated since 2006. But it would be a good candidate if it were ...

wxMathPlot : very new, not mature, several functions (still active?)

libgraph : obsolete, not rebust, only 2D and only displays images.

koolplot . Too simple, without control over the created window.

EasyBMP : very simple, only images.

plotutils : command line only.

plplot : C and C ++ APIs are almost not supported. In fact, wxPlot is based on this. C may be a candidate; C and C ++ interface can also be updated.

Any comments? Ideas?

Thank!

+49
c ++ graph plot wxwidgets
Nov 17 '08 at 17:09
source share
14 answers

Although this branch is old, but gold. QCustomPlot is highly recommended to complement this list.

+13
May 13 '14 at 9:21
source share

MathGL have many plot types, C / Fortran interface and master data analysis

+12
Jan 24 2018-11-18T00:
source share

I am all about ROOT for these needs. Pretty heavy if you don't need all the analysis support.

+8
May 19 '09 at 20:57
source share

You have Qwt , which is mature. There's a 3D version somewhere. However, I was never satisfied with the aesthetic result.

Maybe you should wait for Qt3D so you can write something better than yourself.

+7
Jan 24 2018-11-18T00:
source share

I programmatically provide the necessary input files to the GNUPlot executable file and are called using the system() function. This is suitable for my situation, since I only want to visualize my data during research. But if you want the charting function to be integrated into your executable file, maybe this is not for you :)

+5
Dec 24 '08 at 10:36
source share

u can use DISLIN

it's pretty neat!

+5
Mar 24 2018-11-11T00:
source share

Can wxChart choose an option? I did not use it myself, and it seems that it has not been updated for some time.

+3
Nov 17 '08 at 18:50
source share

Just an idea: use Python as an embedded scripting language for graphing. Python has a lot of graphing .

+3
Nov 17 '08 at 19:11
source share

We are using an ancient version of ComponentOne Chart .

+1
Nov 18 '08 at 23:23
source share

AntiGrain Geometry (AGG). http://www.antigrain.com/ . Its an open source 2D vector graphics library. This is a standalone library without additional dependencies. Has good documentation. The matplotlib Python graphics library uses AGG as one of its components.

+1
Nov 19 '08 at 10:44
source share

Take a look at wxArt2d , this is a complete structure for editing and building 2d. See screenshots for more details.

Some interesting features:

  • Read and write SVG and CVG
  • Several types of one document
  • Changes are updated when idle
  • Optimized drawing of 2d objects
+1
Dec 13 '08 at 12:39
source share

Hey! I am a wxMathPlot developer! The project is active: it just took me a long time to get a new release, because for this it was necessary to partially rewrite the code in order to introduce new functions. Take a look at the new release 0.1.0: this is a great improvement from older versions. In any case, it does not provide 3D (even if I always think about it ...).

+1
Dec 24 '08 at 10:19
source share

I found the Allegro game library easy to use throughout the day. Perhaps worth a look.

0
Nov 17 '08 at 20:28
source share

Opengl It will be hard and maybe rewrite the wheel. Keep in mind that OpenGL is a general 3D library, not a specific plot library, but you can implement the construction on it.

-one
Nov 17 '08 at 20:08
source share



All Articles