Re: and color via PlotStyle
- To: mathgroup at smc.vnet.net
- Subject: [mg118575] Re: and color via PlotStyle
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Tue, 3 May 2011 05:47:14 -0400 (EDT)
On 5/2/11 at 6:50 AM, dushanm at spinn.net (Dushan Mitrovich) wrote:
>So far everybody has been talking about whether the behavior is
>reasonable or unreasonable to expect, but nobody has (AFAIK) done
>the obvious, namely stated the solution to the question: Just how
>does one get differently-colored curves when using the '/.{a->1}'?
This was answered earlier in the thread. Specifically
Plot[{a x, a x^2}/.a->1,{x,0,1}]
will plot in one color. And
Plot[Evaluate[{a x, a x^2}/.a->1],{x,0,1}]
will plot in two colors