Re: Vector plot in cylindrical coordinates.

• To: mathgroup at smc.vnet.net
• Subject: [mg20288] Re: Vector plot in cylindrical coordinates.
• From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
• Date: Tue, 12 Oct 1999 03:39:28 -0400
• Organization: Universitaet Leipzig
• References: <7tp85v\$9ah@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Hi John,

what means "cylindrical coordinates" ? The vector field f={fx,fy}
depending on
r and phi ? The vector field f={fr,fphi} depending on x and y or
f={fr,fphi} on
r and phi ? Since drawinf fr amd fphi show you allmost nothing I assume
you want

PlotVectorField[
r = Sqrt[x^2 + y^2]; phi = ArcTan[x, y];
{r*Cos[2phi], r*Sin[2phi]}, {x, -2, 2}, {y, -2, 2}]

Regards
Jens

"I. Ioannou" wrote:
>
> Hi all,
>
> I want to plot a vector field in cylindrical coordinates. While all the
> packages are there, I don't seem to be able to do this. Would anybody know
> the specific instructions?
>
> I should add that this is a 2d vector field. Such fields are x-y
> plottable with PlotVectorField (or something like that). When I try to
> change coordinate systems with the VectorAnalysis package (again the name
> might be slightly different; I'm not in the office) I don't get the
> plotting package to recognize the new coordinates.
>
> I guess, a solution along these lines or in a somehow different way (e.g.
> plotting streamlines) would work.
>
> Thanks for your help, John
> --
>       Ioannis   I    Ioannou                   phone: (206)-543-1372
>       g-2 group, Atomic Physics                fax:   (206)-685-0635
>       Department of Physics
>       University of Washington        e-mail: iioannou at u.washington.edu

```

• Prev by Date: Re: Mathematica 4.0.1 Front End crashes my Mac
• Next by Date: Re: Subscript Variable
• Previous by thread: Vector plot in cylindrical coordinates.
• Next by thread: Graphics inconsistencies