MathGroup Archive 1997

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

Search the Archive

Re: color space curve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8308] Re: [mg8220] color space curve
  • From: Allan Hayes <hay at haystack.demon.co.uk>
  • Date: Sun, 24 Aug 1997 04:46:53 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Eduardo Arantes Nogueira <eanog at TURING.UNICAMP.BR>
[mg8220] color space curve
writes
>I want to plot a three-dimensional space curve (with
> ParametricPlot3D) but in color and according to  X and Y values
>(not Z values), to give the sense of depth.

Eduardo,

You can append a fourth entry to the coordinate list. For example:

ParametricPlot3D[
	{Cos[t], Sin[2t],Cos[t]^2,
     		{Hue[Cos[t]+ Sin[2t]], Thickness[.005 t]}
	},
	{t,0,2Pi}
]

Allan Hayes
hay at haystack.demon.co.uk
http://www.haystack.demon.co.uk/training.html
voice:+44 (0)116 2714198
fax: +44 (0)116 2718642
Leicester,  UK


  • Prev by Date: Auto-Animate Button ?
  • Next by Date: Re: Re: floor problems
  • Previous by thread: Re: color space curve
  • Next by thread: Re: color space curve