MathGroup Archive 2004

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

Search the Archive

RE: Options in Plot


Sebastien,

Attributes[ParametricPlot]
{HoldAll, Protected}

rt never gets evaluated. But you can force evaluation.

rt = {PlotStyle -> RGBColor[1, 1, 0]};
ParametricPlot[{Cos[s], Sin[s]}, {s, 0, 1}, rt // Evaluate]

If we understood the reason for your indirect usage of an option the group
might be able to suggest something better.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/




From: Seb [mailto:sebastien.neukirch at epfl.ch]
To: mathgroup at smc.vnet.net

Hello,

Why isn't this working ?

rt = {PlotStyle -> RGBColor[1, 1, 0]};
ParametricPlot[{Cos[s], Sin[s]}, {s, 0, 1}, rt]

Thanks,

Sebastien



  • Prev by Date: Re: Music to Mathematica
  • Next by Date: Smooth animation
  • Previous by thread: Re: Options in Plot
  • Next by thread: Re: Options in Plot