MathGroup Archive 2011

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

Search the Archive

Re: and color via PlotStyle

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118521] Re: and color via PlotStyle
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Sun, 1 May 2011 06:20:47 -0400 (EDT)

On 4/30/11 at 5:51 AM, siegman at stanford.edu (AES) wrote:

>In article <ipe7mj$r1o$1 at smc.vnet.net>,
>Bill Rowe <readnews at sbcglobal.net> wrote:

>>>Plot[{ a x, a x^2, a x^3}/. {a -> 1},{x, 0, 2}, PlotStyle -> {Red,
>>>Green, Blue}]

>>>just produces blue plots.

>>Exactly as it should.

>The statement "Exactly as it _should_" is open to discussion here.

Perhaps, I should have written "Exactly as it should according
to the documentation". If "should" is taken to mean agreement
with some user expectations, then yes, should is open to
discussion/interpretation. And to extent that discussion cannot
change Mathematica as it is, it is pointless to say Mathematica
"should" be different than it is.

As for your comments I snipped, yes, a basic understanding
sufficient to get Plot to do something useful isn't adequate to
explain why

Plot[{ a x, a x^2, a x^3}/. {a -> 1}...

produces a plot with a single color yet

Plot[{x, x^2, x^3}}...

produces a plot with three colors. But so what?

Mathematica is a very powerful toolset containing many useful
tools. And many of those tools have a variety of subtle settings
that can be changed to achieve the desired result. To get best
results from any set of tools, you have to take the time to
fully understand the tools you are using. That takes time. And
there is no other viable alternative.

The behavior of Plot is well documented. And this particular
behavior exists for good reasons.



  • Prev by Date: Re: and color via PlotStyle
  • Next by Date: Re: Why Indeterminate?
  • Previous by thread: Re: and color via PlotStyle
  • Next by thread: Re: and color via PlotStyle