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


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

Re: Workaround for Plot[ ] and color via PlotStyle

From DrMajorBob <btreat1@austin.rr.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Workaround for Plot[ ] and color via PlotStyle
Date 2011-04-29 11:31 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ipe7iu$quk$1@smc.vnet.net> (permalink)

Show all headers | View raw


Heroic, I suppose... but awkward.

Bobby

On Thu, 28 Apr 2011 05:35:06 -0500, Christopher O. Young  
<cy56@comcast.net> wrote:

> I figured out how to add a coordinated list of colors. Just use
> part-specification on a color list. Of course, this could be a list of  
> RGB
> specifications, etc.
>
> (y = x^k //
>       Plot[
>         #, {x, -5, 5},
>         PlotStyle -> {Thick, {Red, Yellow, Blue}[[k]]}
>         ] &)\
>    ~Table~{k, 1, 3}\
>     // Show
>
>
>


-- 
DrMajorBob@yahoo.com

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


Thread

Re: Workaround for Plot[ ] and color via PlotStyle DrMajorBob <btreat1@austin.rr.com> - 2011-04-29 11:31 +0000

csiph-web