Plot 3d in GTK3

HI
I would like to ask you if it possible plotting in GTK3 3d surfaces (with cairo o some other library) and using sliders change the view angle (If possible, can you advise me a minimal example, please?).

At the moment I’m able to do that on Matlab/Octave.

I would like to work only on GTK3.

Thank you in Advance for your support.

1 Like

I think , but I am not sure, there should be an example program in gtk-demo.

Yes, please try to see gtk3-demo OpenGL Area. Should be a good starting point.

There is also the Drawing Area demo worth to take a look.


I would like to ask you if it possible plotting in GTK3 3d surfaces

If you want something ready to use, you can try the GOffice library:

For a basic example, check out the GogSurfacePlot page in
tests/go-demo. Be prepared for a massive lack of documentation though.

Ciao.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.