MathGroup Archive 2005

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

Search the Archive

gradient in ParametricPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59372] gradient in ParametricPlot
  • From: Daniele Lupo <danwolf80_no_spam_please_ at libero.it>
  • Date: Sun, 7 Aug 2005 03:47:03 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi.

I'd like to plot a ParametricPlot graphic image. It's easy, but I'd like
also to color the curve obtained according to a gradient (Hue, for
example), so the line changes color according the parameter value. In this
case if the coordinates are {t Sin[t], t Cos[t]} the point at t=value will
be colored as Hue[value]. There's a way to do this, instead to have a line
with a costant color defined by StylePlot?

I've obtained this in a ParametricPlot3D, using
{x[u,v],y[u,v],z[u,v],{SurfaceColor[Hue[f[u,v]]]}} (thanks to Davin Park
example in a my previous post about ellipsoid), but this does not works in
2D case (there's no surfaces...)

Thanks for answers

Daniele


  • Prev by Date: Re: Hankel matrix?
  • Next by Date: Re: Hankel matrix?
  • Previous by thread: Re: <<RealTime3D`
  • Next by thread: Re: gradient in ParametricPlot