MathGroup Archive 2002

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

Search the Archive

Re: Varying color in ParametricPlot

  • To: mathgroup at
  • Subject: [mg35075] Re: Varying color in ParametricPlot
  • From: "Student, T.U.E." <YourName at>
  • Date: Mon, 24 Jun 2002 03:20:59 -0400 (EDT)
  • Organization: Eindhoven University of Technology, The Netherlands
  • References: <aeu87t$8gt$>
  • Sender: owner-wri-mathgroup at

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> wrote in message news:aeu87t$8gt$1 at
> In a message dated 6/20/02 3:35:28 AM, YourName at 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.
> >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