Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #1951 > unrolled thread
| Started by | "Christopher O. Young" <cy56@comcast.net> |
|---|---|
| First post | 2011-04-28 10:34 +0000 |
| Last post | 2011-04-28 10:34 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Workaround for Plot[ ] and color via PlotStyle "Christopher O. Young" <cy56@comcast.net> - 2011-04-28 10:34 +0000
| From | "Christopher O. Young" <cy56@comcast.net> |
|---|---|
| Date | 2011-04-28 10:34 +0000 |
| Subject | Workaround 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
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web