Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2017 > unrolled thread

Re: and color via PlotStyle

Started byBill Rowe <readnews@sbcglobal.net>
First post2011-05-01 10:20 +0000
Last post2011-05-01 10:20 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: and color via PlotStyle Bill Rowe <readnews@sbcglobal.net> - 2011-05-01 10:20 +0000

#2017 — Re: and color via PlotStyle

FromBill Rowe <readnews@sbcglobal.net>
Date2011-05-01 10:20 +0000
SubjectRe: and color via PlotStyle
Message-ID<ipjc6b$ivr$1@smc.vnet.net>
On 4/30/11 at 5:51 AM, siegman@stanford.edu (AES) wrote:

>In article <ipe7mj$r1o$1@smc.vnet.net>,
>Bill Rowe <readnews@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.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web