Qt World Summit: Register Today!

Trying to use QColormap in order to graph curves with different colors in Qwt.

  • There is not much documentation on how to use QColormap so I am wondering if it will work for my purposes. Basically I have plots that have any number of curves on them. So I want to create a color map with the required amount of colors when I am plotting so that each can have its own unique color. Is QColormap the right way to go? My other option that I have been looking at was from some Matlab code in which a Matrix of RBG values can be generated and then used to define a color for each curve.

Log in to reply