ok
my first question was, how do I assign x,y a value. in the rasterview example you used :
QVector<double> values;
for ( uint i = 0; i < sizeof( matrix ) / sizeof( double ); i++ )
values += matrix[i];
const int numColumns = 4;
setValueMatrix( values, numColumns );
QVector<double> values;
for ( uint i = 0; i < sizeof( matrix ) / sizeof( double ); i++ )
values += matrix[i];
const int numColumns = 4;
setValueMatrix( values, numColumns );
To copy to clipboard, switch view to plain text mode
but how do we know which x,y assigned which value?? and what is the affect of NumColumns ??
as well is there a way to control
my second question was:
the area of the spectrogram. in the example you used intervals:
setInterval( Qt::XAxis,
QwtInterval( 0.5, 3.5, QwtInterval::ExcludeMaximum ) );
setInterval( Qt::YAxis,
QwtInterval( 0.5, 3.5, QwtInterval::ExcludeMaximum ) );
setInterval( Qt::ZAxis, QwtInterval( 1.0, 6.0 ) );
setInterval( Qt::XAxis,
QwtInterval( 0.5, 3.5, QwtInterval::ExcludeMaximum ) );
setInterval( Qt::YAxis,
QwtInterval( 0.5, 3.5, QwtInterval::ExcludeMaximum ) );
setInterval( Qt::ZAxis, QwtInterval( 1.0, 6.0 ) );
To copy to clipboard, switch view to plain text mode
this way made the spectrogram a rectangle, but what if its a poly shap or a rectangle that is rotated?? in other way how do i control the area in which i want the map "spectrogram" to be drawn.
Bookmarks