Re: Plot question
- To: mathgroup at smc.vnet.net
- Subject: [mg64338] Re: [mg64319] Plot question
- From: "David Park" <djmp at earthlink.net>
- Date: Sun, 12 Feb 2006 04:00:23 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I'm not certain if I actually understand what you want, but maybe it is
something like this?
<< Graphics`PlotField`
<< Graphics`Arrow`
plot1 =
PlotVectorField[{Sin[x], Cos[y]}, {x, 0, Pi}, {y, 0, Pi},
Frame -> True,
FrameLabel -> {x, y}];
Show[plot1 /.
Arrow[{r1_, t1_}, {r2_, t2_}, opts___] ->
Arrow[{r1 Cos[t1], r1 Sin[t1]}, {r2 Cos[t2], r2 Sin[t2]}, opts]];
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
From: Laurentiu Caramete [mailto:laurentiu.caramete at googlemail.com]
To: mathgroup at smc.vnet.net
I have a question related to Mathematica. So I would like to plot a vector
field
not in rectangular coordinates but as a circular plot. I know for example
this:
<<Graphics`PlotField`
PlotVectorField[{Sin[x], Cos[y]}, {x, 0, Pi}, {y, 0, Pi}]
this commands make a plot, where on the x-axis one can find x from 0 to Pi
and
on y axis the same. But I would like to have the y-coordinate as a circle
and
inside this circle the arrows that describe my vector field. I hope you
understand me. I think that this question could be general, so if I wanted
to
plot a normal function as a circular plot I could ask the same. Maybe you
can
help me.