From: Alan G I. <ala...@gm...> - 2011-07-30 04:04:29
|
I have many lines to plot. Each line has an associated parameter value. I'd like to pick the color for each line based on its parameter value by mapping possible parameter values to the colors in a color map (e.g., gist_rainbow), retrieving colors one at a time (based on the parameter value for a line). If two lines have the same parameter value, I need them to have exactly the same color. Hints? Thanks, Alan Isaac |