I have a my own Plot class which has a function to create PlotCurves based upon x and y values that are passed in contained in vectors and a vector that holds index's of where each Curve ends and the next one begins. Since this is all happening in a for loop I need something like a ColorMap that I can grab a new color from every time for the pen color. I have been looking at QwtLinearColorMap but it doesn't seem to have the functionality I desire. I can access the amount of curves that are going to be plotted based upon the vector of index's size() function but I need a way to make each curve have a different color for any amount of curves.
Bookmarks