MathGroup Archive 2011

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

Search the Archive

Re: Workaround for Plot[ ] and color via PlotStyle

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118473] Re: Workaround for Plot[ ] and color via PlotStyle
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Fri, 29 Apr 2011 07:31:49 -0400 (EDT)

Heroic, I suppose... but awkward.

Bobby

On Thu, 28 Apr 2011 05:35:06 -0500, Christopher O. Young  
<cy56 at 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 at yahoo.com


  • Prev by Date: Re: How to create such a list
  • Next by Date: Re: complex equation
  • Previous by thread: Workaround for Plot[ ] and color via PlotStyle
  • Next by thread: Re: Workaround for Plot[ ] and color via PlotStyle