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


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

Workaround for Plot[ ] and color via PlotStyle

Started by"Christopher O. Young" <cy56@comcast.net>
First post2011-04-28 10:34 +0000
Last post2011-04-28 10:34 +0000
Articles 1 — 1 participant

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


Contents

  Workaround for Plot[ ] and color via PlotStyle "Christopher O. Young" <cy56@comcast.net> - 2011-04-28 10:34 +0000

#1951 — Workaround for Plot[ ] and color via PlotStyle

From"Christopher O. Young" <cy56@comcast.net>
Date2011-04-28 10:34 +0000
SubjectWorkaround for Plot[ ] and color via PlotStyle
Message-ID<ipbfsi$add$1@smc.vnet.net>
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


[toc] | [standalone]


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


csiph-web