Re: [Matplotlib-users] Polar 3D plot?

2010-03-19 Thread Reinier Heeres
Hi Armin, Thanks, I added it to the mplot3d examples. Cheers, Reinier On Thu, Mar 18, 2010 at 3:46 PM, Armin Moser armin.mo...@student.tugraz.at wrote: Hi, you can create your supporting points on a regular r, phi grid and transform them then to cartesian coordinates: from

Re: [Matplotlib-users] Polar 3D plot?

2010-03-18 Thread Ben Axelrod
] Polar 3D plot? I'm guessing this is currently impossible with the current mplot3d functionality, but I was wondering if there was any way I could generate a 3d graph with r, phi, z coordinates rather than x, y, z? The point is that I want to make a figure that looks like the following: http

Re: [Matplotlib-users] Polar 3D plot?

2010-03-18 Thread Jeff Klukas
The code below works perfectly. I think this should be included as an mplot3d codex. I'll look into what's required to submit a new example to the documentation. Thanks Armin! || Jeff Klukas, Research Assistant, Physics || University of Wisconsin -- Madison || jeff.klu...@gmail |

Re: [Matplotlib-users] Polar 3D plot?

2010-03-18 Thread Armin Moser
Hi, you can create your supporting points on a regular r, phi grid and transform them then to cartesian coordinates: from mpl_toolkits.mplot3d import Axes3D import matplotlib import numpy as np from matplotlib import cm from matplotlib import pyplot as plt step = 0.04 maxval = 1.0 fig =

[Matplotlib-users] Polar 3D plot?

2010-03-17 Thread klukas
I'm guessing this is currently impossible with the current mplot3d functionality, but I was wondering if there was any way I could generate a 3d graph with r, phi, z coordinates rather than x, y, z? The point is that I want to make a figure that looks like the following: