MathGroup Archive 2000

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

Search the Archive

Re: COLOR IN PLOT VECTOR FIELD


You might try for example:

In[1]:=
<<Graphics`PlotField`
In[2]:=
vecs=PlotVectorField[{Sin[x], Cos[y]},
             {x, 0, Pi}, {y, 0, Pi},ColorFunction->Hue]

and then

In[3]:=
vecs /. Hue[x_] -> Hue[1];

In[4]:=
Show[%]

This will display all vectors in red. To see why I propose this, look at

In[5]:=
FullForm[vecs]

Tomas Garza
Mexico City

Maria Gabriela CARABIO wrote:

> I want to plot the vectors in red color (not Hue). Can you help me 
with
> the option? Thanks in advance.



  • Prev by Date: Re: AxesLabel for ContourPlot
  • Next by Date: Re: Select Output of FindMinimum
  • Previous by thread: Re: COLOR IN PLOT VECTOR FIELD
  • Next by thread: Assumptions i Mathematica...