12 May 12:37
problem with QwtRasterData value(double x, double y)
From: Dmitry Khaneft <dimitrian <at> bk.ru>
Subject: problem with QwtRasterData value(double x, double y)
Newsgroups: gmane.comp.graphics.qwt.general
Date: 2008-05-12 10:39:23 GMT
Subject: problem with QwtRasterData value(double x, double y)
Newsgroups: gmane.comp.graphics.qwt.general
Date: 2008-05-12 10:39:23 GMT
Hallo. This is almost copy of class SpectromData by Matthias Pospiech. I tried to use it in the same
purposes. Below the code as I use it. Data in a array are transferred from QList from other class. This QList
contains only one element. In comments actually transferred values are shown.
A problem that I see distort picture on a plot. I think I made a mistake with filling of array or something
else. Where is my mistake?
**********************header**********************
class SpectrogramData: public QwtRasterData
{
private:
double *m_Array;
struct structMinMax{
double min;
double max;
};
structMinMax m_RangeX;
structMinMax m_RangeY;
structMinMax m_RangeZ;
struct structXY{
double x;
double y;
};
structXY m_DataSize;
structXY m_RealToArray;
public:
(Continue reading)
RSS Feed