MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Vector plot in cylindrical coordinates.

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

{fx[r,phi],fy[r,phi]} ? the following ma y help you:

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


"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

  • 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