|
From: Daniel W. <dan...@gm...> - 2012-02-16 21:14:29
|
Greetings. I have a series of lines that I would like to plot on the same axis, but I would like to set the color of each such that the range of colors used progresses through a given color map (e.g. the default Jet map.) For example, if I have 7 lines, the first would use the first most color from the Jet color map (blue.) The next line would use the color that is 1/7 the way up the map, e.g. green or so. This would continue until the last line was red. How would I go about doing this (that is, loading a color map and pulling a specific color from it that could be handed to plot as an rgba tuple)? Thanks! -dw |