3D interactive plots in IJulia

1,744 views
Skip to first unread message

Andrei Berceanu

unread,
Mar 3, 2015, 10:38:32 AM3/3/15
to julia...@googlegroups.com
Is there some Julia library that allows one to do create 3D (surface plots) in the IJulia notebook and then rotate them interactively, using the mouse?

//A

Simon Danisch

unread,
Mar 3, 2015, 4:43:27 PM3/3/15
to julia...@googlegroups.com
Well there is GLPlot.jl, but it might not be what you're looking for...
Also it's on a feature freeze right now.
I'm restructuring the architecture, before I add more advanced features.

Miguel Bazdresch

unread,
Mar 3, 2015, 5:31:24 PM3/3/15
to julia...@googlegroups.com
You can do 3-D plots with Gaston.jl, and rotate them with the mouse. I haven't added the required interface to make it compatible with IJulia, though. Even doing that, I doubt that the plot would still be interactive, since that functionality is provided by Gnuplot.

-- mb

Jack Minardi

unread,
Mar 3, 2015, 8:36:27 PM3/3/15
to julia...@googlegroups.com
I've used matplotlib's 3D plotting capabilities successfully through PyPlot.jl in the past.

Shashi Gowda

unread,
Mar 4, 2015, 2:10:45 AM3/4/15
to julia...@googlegroups.com
It should be possible to use 3D (surf etc) plots from PyPlot with Interact.jl in IJulia.

Steven Sagaert

unread,
Mar 4, 2015, 3:43:46 AM3/4/15
to julia...@googlegroups.com
Hi Simon,
The screenshots looks nice but I have to ask: why build a high performance native 2D/3D scientific plotting lib based on openGL from scratch when you could wrap mature native libs like VTK or Mayavi? I mean in R you have RGL  which is also directly based on openGL. You can use it for some basic 3D interative scatterplots & surfaceplots but personally I don't find these plots very satisfactory. I mean "raw" openGL itself is mainly for 3D graphics not scientific visualization and hence a whole lot more work is needed to add this functionality on top of it.

Simon Danisch

unread,
Mar 4, 2015, 3:54:42 AM3/4/15
to julia...@googlegroups.com
@Steven Sagaert 
Well, what you say definitely holds true, if your goals are to have nice scientific visualizations as quickly available as possible.
My goals are somewhat different. I want to go more into the direction of visual debugging and interactive programming, while keeping everything in one fast, high-level language.
I think it's finally time to get away from C++ as the only acceptable language for high performance 3D graphics.
It is indeed a bumpy road as there are a lot of pieces missing and it manifests in the slow progress of GLPlot, but I think it'll pay off eventually.


Am Dienstag, 3. März 2015 16:38:32 UTC+1 schrieb Andrei Berceanu:

j verzani

unread,
Mar 4, 2015, 8:50:00 AM3/4/15
to julia...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages