MathGroup Archive 2002

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

Search the Archive

Re: Varying color in ParametricPlot


Hi,
I tried your suggestion but then something strange happens:
The parts of the plot with different colors are plotted in seperate figures.
I can't see why this happens.
Thanks anyway.

<BobHanlon at aol.com> wrote in message news:aeu87t$8gt$1 at smc.vnet.net...
>
> In a message dated 6/20/02 3:35:28 AM, YourName at student.tue.nl writes:
>
> >What I would like to do, is the following:
> >
> >I have defined 2 functions x[t] and y[t] and I would like to plot them
> >parametrically using ParametricPlot with a color that is also a function
> >of
> >t (something like Hue[t]).
> >
> >I haven't been able to figure this out using help in Mathematica. I have
> >tried to use ColorOutput and PlotStyle but that doesn't seem to work.
Does
> >anyone have a solution to this problem.
>
> Needs["Graphics`Graphics`"];
>
> m=32; DisplayTogether[Table[
>     ParametricPlot[{Cos[5t], Sin[3t]},
>       {t, (n-1)*2Pi/m, n*2Pi/m},
>       PlotStyle->Hue[n/m],
>       AspectRatio->Automatic], {n, m}]];
>
>
> Bob Hanlon
> Chantilly, VA  USA
>




  • Prev by Date: FourierTransform problem
  • Next by Date: Re: vector integration
  • Previous by thread: RE: Varying color in ParametricPlot
  • Next by thread: Small-world clustering