Re: Re: PlotVectorField
- To: mathgroup at smc.vnet.net
- Subject: [mg21933] Re: Re: [mg21886] PlotVectorField
- From: "Carlos Castellanos" <caicaly at hotmail.com>
- Date: Fri, 4 Feb 2000 02:55:00 -0500 (EST)
- References: <200002032115.WAA19843@bologna.nettuno.it>
- Sender: owner-wri-mathgroup at wolfram.com
Tiziano You can check if the command PlotVectorField [ ] can recognize the option you want to use by executing: Options[PlotVectorField] // TableForm As you can see PlotStyle, is not an option supported by that command, but instead you have two options : (DefaultColor and ColorOutput) the first one set the color Mathematica should use for the lines, points and every single thing that appears in the graphic, the other (ColorOutput) gives Mathematica the source of color it might use. You may use too FrameStyle -> GrayLevel[0] in order to change the color of the frame and put it black, since using DefaultColor -> RGBColor[0.996109, 0, 0] draws everithing in red (+ - ) Here's is the command PlotVectorField[{(2*x^2 - y^2)/(x^2 + y^2)^(5/2), (3*x*y)/(x^2 + y^2)^(5/2)}* 0.01, {x, -1, 1}, {y, -1, 1}, PlotPoints -> 30, ScaleFactor -> None, MaxArrowLength -> 0.5, ColorOutput -> RGBColor, DefaultColor -> RGBColor[0.996109, 0, 0], Frame -> True, FrameStyle -> GrayLevel[0]] (NOTE: you don't need to use ColorOutput -> RGBColor, Mathematica will automatically recognize the source...) Best Regards Carlos Castellanos DR ----- Original Message ----- From: "enea" <enea at schio.nettuno.it> To: mathgroup at smc.vnet.net Subject: [mg21933] Re: Re: [mg21886] PlotVectorField > > > > On Thu, 3 Feb 2000, "Carlos Castellanos" wrote: > > Date: Thu, 3 Feb 2000 02:14:25 -0200 > > To: "enea" <ruaro at astras.pd.astro.it> > > From: "Carlos Castellanos" <caicaly at hotmail.com> To: mathgroup at smc.vnet.net > > Subject: [mg21933] Re: [mg21886] PlotVectorField > > > > Send the Plot Command, I mean the whole expression > > > <<Graphics`PlotField` > > PlotVectorField[{(2*x^2 - y^2)/(x^2 + y^2)^(5/2), (3*x*y)/(x^2 + y^2)^(5/2)}* > 0.01, {x, -1, 1}, {y, -1, 1}, PlotPoints -> 30, ScaleFactor -> None, > MaxArrowLength -> 0.5, PlotStyle -> RGBColor[0.996109, 0, 0], Frame -> True] > > The command > PlotStyle -> RGBColor[0.996109, 0, 0] > > don't work and I've a black graphics > > Thanks > Tiziano >