Commits
1 1 | |
2 2 | |
3 3 | |
4 4 | |
5 5 | |
6 6 | |
7 + | |
8 + | typedef QwtInterval QwtDoubleInterval; |
9 + | |
7 10 | |
11 + | |
8 12 | |
9 13 | |
10 14 | |
11 15 | typedef QwtIntervalSeriesData qwt_interval_t; |
12 16 | inline void set_data(QwtPlotCurve *curve, const QVector<double> &x, const QVector<double> &y) { |
13 17 | curve->setSamples(x,y); |
14 18 | } |
15 19 | inline void set_color_map( QwtScaleWidget *scale, QwtDoubleInterval &range, const QwtLinearColorMap &colorMap ) { |
16 20 | QwtLinearColorMap* copyMap = new QwtLinearColorMap( colorMap.color1( ), colorMap.color2( ) ); |
17 21 | QVector<double> colorStops = colorMap.colorStops(); |