Re: Plotting a contour plot with cylindrical co-ordinates
- To: mathgroup at smc.vnet.net
- Subject: [mg50182] Re: Plotting a contour plot with cylindrical co-ordinates
- From: mathma18 at hotmail.com ("G.L.Narasimham")
- Date: Thu, 19 Aug 2004 06:28:14 -0400 (EDT)
- References: <rrncfuxz67c5@legacy>
- Sender: owner-wri-mathgroup at wolfram.com
If z=f(r,theta) is given, convert (r,theta) -> (x,y). For example: z[r_,theta_]= Sec[r*3]*(2*theta-1); x= r*Cos[theta];y=r*Sin[theta] ParametricPlot3D [{x,y,z[r,theta]},{r,1,6},{theta,0,6}, PlotPoints->{15,21}] On 20 Jul 04 14:45:29 -0400 (EDT), Jake wrote: >I have a set of data which corresponds to points on a circle. I have >these values as a function of r and theta. Is there a way of plotting >this in Mathematica? The ContourPlot function requires x and y >co-ordinates. >Please help if you know. >thanks.