Bogue widget
A Bogue widget to display oplot plots would be great. Unless I missed something, the only way to combine your two libraries right now is to use SVG as intermediate. But a widget that would directly draw to the SDL backend would open more possibilities, wouldn’t it?
aaah yes, of course... that would be great. I thought about this a long time ago, but when I discovered that SDL2 (which uses openGL internally on my linux box) does not like (at all) to be mixed with direct openGL calls, I was quite disappointed and gave up.
(in fact I did have a version of Bogue with a special openGL widget, but this was too complicated to maintain)
Nowadays with the SDLarea widget it might be worth a new try.
SVG, yes this is possible too, but we will miss the interactive features of oplot (or they will be quite slower)
Yes, it is exactly what I meant. I have actually been unable to find any plotting library that can be used inside a widget of any GUI framework. I am coming from Python where Matplotlib plays nice with GTK, Tk, and Qt, so it’s a bit of a disappointment. Closer to OCaml, Swift has also a nice plotting library fully integrated with the GUI framework. In light of all that, it would be fantastic to have interoperability between oplot and bogue. First of its kind!