The following is a class using the qwt libary to generate a spectrogramm and/or a contour plot. In contrast to the example shipped with qwt it uses a data array instead of a hard coded function.
QSpectrogramPlot.h
#ifndef QSPECTROGRAMPLOT_H_
#define QSPECTROGRAMPLOT_H_
#include "ExtFunctions.h"
#include <QtGui/QHBoxLayout>
#include <QtGui/QWidget>
#include...