Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import plotly as py
- import chart_studio.plotly as cs
- #import chart_studio.grid_objs as go
- cs.sign_in(u'guest', u'guest')
- import plotly.graph_objects as go
- import numpy as np
- # Helix equation
- t = np.linspace(0, 10, 50)
- x, y, z = np.cos(t), np.sin(t), t
- fig = go.Figure(data=[go.Scatter3d(x=x, y=y, z=z,
- mode='markers')])
- cs.iplot(fig, filename='Helix')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement