Re: Gtkmm-PLplot

2016-03-21 Thread Tom Schoonjans
Hi Maciej, Many thanks for looking into this. The pointers do seem to be necessary as I cannot have a vector of references. Now what bothers me the most is that when users add a plot or plot data to a canvas or plot, a copy is made instead of using the original as shown e.g. in Plot *Canvas::

Re: Gtkmm-PLplot

2016-03-19 Thread Maciej Piotr Sauermann
Hi, I've just had a glance at some parts of the code and indeed   > For example, due to my C background, I rely quite a lot on pointers which I am > sure is frowned upon, but I am not really sure how to solve this (Glib::RefPtr > perhaps?). the above is true. I'd suggest using std::unique_ptr (an

Gtkmm-PLplot

2016-03-14 Thread Tom Schoonjans
Hi all, I am the developer of a small Gtkmm plotting library (https://github.com/tschoonj/gtkmm-plplot <https://github.com/tschoonj/gtkmm-plplot>), essentially offering a Gtkmm DrawingArea widget that uses PLplot behind the scenes to produce scientific plots. I started this project as