Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to make 3D plots like in matplotlib #609

Open
dtracers opened this issue May 4, 2020 · 2 comments
Open

Is there a way to make 3D plots like in matplotlib #609

dtracers opened this issue May 4, 2020 · 2 comments

Comments

@dtracers
Copy link

dtracers commented May 4, 2020

I am looking for a library to plot 3d points in space and it seems this is the only active plotting library.

I found this:
https://medium.com/@Arafat./introducing-glot-the-plotting-library-for-golang-3133399948a1
Which appears to be built on top of the predecessor to this but it is woefully out of date and I am having issues with it.

Is there a way to use this library to plot 3d datapoints?
I can't find any in the examples

@sbinet
Copy link
Member

sbinet commented May 4, 2020

glot invokes the gnuplot binary to do its thing.
gonum/plot does everything in Go.
(so... not the predecessor, they don't have -AFAIK- any common lineage)

right now, there isn't a way in gonum/plot to directly draw 3D plotters.
3D plots may be pretty, but on a dead tree sheet of paper, they usually are rather hard to interpret.
(I suppose that they are slightly more useful with an interactive 3D plotter, where the plot can be manipulated over the 3 axes, zoomed in/out, etc... but AFAIK gonum/plot doesn't provide this either (yet?))

@sbinet
Copy link
Member

sbinet commented May 23, 2020

yesterday, I stumbled on this package:

it could (perhaps) be a good basis to add 3D support to gonum/plot.
(but that's still a fair amount of work, though.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants