Cylindrical coordinates 3D plot?

54 views
Skip to first unread message

Andrew Lentvorski

unread,
May 18, 2017, 7:01:09 PM5/18/17
to Project Jupyter
This is a newb question (and I am a newb to Jupyter), but how do I make an interactive 3D plot with cylindrical coordinates?

Thanks.

Paul Hobson

unread,
May 18, 2017, 7:04:34 PM5/18/17
to jup...@googlegroups.com
Andrew,

That's far out of the scope of Jupyter. The scientific python ecosystem has several plotting packages, but I rarely work with them, so I hesitate to outright recommend one. However, MayaVI seems to be one that comes up in discussions often.

On Thu, May 18, 2017 at 4:01 PM, Andrew Lentvorski <bsd...@gmail.com> wrote:
This is a newb question (and I am a newb to Jupyter), but how do I make an interactive 3D plot with cylindrical coordinates?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/07af0459-81fa-488c-8706-80c7d1d032df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Lentvorski

unread,
May 19, 2017, 1:45:39 AM5/19/17
to Project Jupyter
Just the knowledge that it's far out of scope will help to direct my search.

Thanks for taking the time to reply.


On Thursday, May 18, 2017 at 4:04:34 PM UTC-7, Paul Hobson wrote:
Andrew,

That's far out of the scope of Jupyter. The scientific python ecosystem has several plotting packages, but I rarely work with them, so I hesitate to outright recommend one. However, MayaVI seems to be one that comes up in discussions often.
On Thu, May 18, 2017 at 4:01 PM, Andrew Lentvorski <bsd...@gmail.com> wrote:
This is a newb question (and I am a newb to Jupyter), but how do I make an interactive 3D plot with cylindrical coordinates?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

h cc

unread,
May 19, 2017, 6:24:34 AM5/19/17
to Project Jupyter
plotly could be another simple way to make an interactive 3d image, for example

```
import plotly.plotly as py
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot,iplot_mpl
import plotly.graph_objs as go
init_notebook_mode()

import numpy as np

r=np.linspace(0,3,101)
t=np.linspace(0,2*np.pi,101)

r,t=np.meshgrid(r,t)
x=r*np.cos(t)
y=r*np.sin(t)

f= np.sqrt(x**2+y**2)

surface = go.Surface(x=x, y=y, z=f,opacity=0.9)
data = [surface]

fig = go.Figure(data=data)
iplot(fig)

```

More examples, could be found in 


Hope this do help to you

cch

h cc

unread,
May 19, 2017, 6:27:02 AM5/19/17
to Project Jupyter
Reply all
Reply to author
Forward
0 new messages