Hi

I have some data files which I would like to plot using Qwt. The setData member function requires data of type double, however my data could be uchar, int or float. I know I could copy the data to an array of type double and then pass this to setData. Is there a better way of doing this?

Regards