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


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

Re: and color via PlotStyle

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: and color via PlotStyle
Date 2011-05-01 10:20 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ipjc6b$ivr$1@smc.vnet.net> (permalink)

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web