Re: Options in Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg47171] Re: Options in Plot
- From: drbob at bigfoot.com (Bobby R. Treat)
- Date: Sun, 28 Mar 2004 00:08:07 -0500 (EST)
- References: <c438il$ejf$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
ParametricPlot has Attribute HoldAll, so it's seeing rt as a symbol
only. Here's the simple fix:
rt = {PlotStyle -> RGBColor[1, 1, 0]};
ParametricPlot[{Cos[s], Sin[s]}, {s, 0, 1}, Evaluate@rt]
Bobby
sebastien.neukirch at epfl.ch (Seb) wrote in message news:<c438il$ejf$1 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