From: Jos on
Hi,

I plot a variable number of lines in a graph. I want every line to be plotted in a different color with as much differentiation in colors as possible.
For now i use:
cm=colormap;
This gives me a predefined set of colors.
When plotting, i give every line a different color from this set, with as much distance between the colormap indices as possible. However, the differentiation is still not so large (as I have about 10 lines to plot on average) and the first three lines are all in blue, which makes the three lines hard to distinguish.
Does anyone have an idea to get more differentiation in colors?