That was a great post. Thanks
What did you use to make the rotating plots?
I used python/matplotlib. The basic idea is to create a 3d plot like so:
fig = plt.figure() ax = fig.add_subplot(111, projection='3d')
Then you can add dots with something like this:
ax.scatter(X,Y,Z,alpha=.5,s=20,color='navy',marker='o',linewidth=0)
Then you save it to a movie with something like this:
def update(i, fig, ax): ax.view_init(elev=20., azim=i) return fig, ax frames = np.arange(0, 360, 1) anim = FuncAnimation(fig, update, frames=frames, repeat=True, fargs=(fig, ax)) writer = 'ffmpeg' anim.save(fname, dpi=80, writer=writer, fps=30)
I’m sure this won’t actually run, but it gives you the basic idea. (The full code is a complete nightmare.)
That was a great post. Thanks
What did you use to make the rotating plots?
I used python/matplotlib. The basic idea is to create a 3d plot like so:
Then you can add dots with something like this:
Then you save it to a movie with something like this:
I’m sure this won’t actually run, but it gives you the basic idea. (The full code is a complete nightmare.)