On Fri, Apr 13, 2012 at 4:24 PM, Ignas Anikevicius <firstname.lastname@example.org>
I was wondering if it is possible to use matplotlib from C++ directly
and I have found an example on how to do this on StackOverflow:
Well, using that "method", you could interface with any python libraries in C++, but you wouldn't be able to do anything useful.
However, my question is about piping. Where could I find any tutorials
on how to pipe data directly to matplotlib so that I would not need to
right it to a file and then read it?
Not from C++, sorry. matplotlib is primarially python with some C++ stuff for efficiency.
Also, does matplotlib benefit from usage of cython and if it does, are
there any things I should know before just trying to compile a
matplotlib script with cython?
matplotlib does not use Cython, it uses CXX for accelerating special parts of the library. Maybe you can use matplotlib in cython (I have never tried), but there are no cython bindings that I am aware of for matplotlib.
Sorry I could not be of more help.