Questions tagged [qwt]

a collection of QT widgets, GUI components and utility classes.

Qwt or Qt Widgets for Technical Applications is a library of custom widgets, GUI components and utility classes which are written in C++ language and primarily useful for programs with a technical background. The library provides a 2D plot widget in addition to scales, sliders, dials, compasses, thermometers, wheels and knobs to control or display values, arrays, or ranges.

This library is intended mainly for usage in scientific or technical applications. It works well with large number of points.

The Qwt user's guide may be found at https://qwt.sourceforge.io/.

Qwt is distributed under the terms of Qwt license which is basically is LGPL and may be found here: https://qwt.sourceforge.io/qwtlicense.html

373 questions
0
votes
1 answer

Qwt QwtScaleEngine

I have a QwtPlot. This plot is autoscalable but I would like to limit the distention to avoid that my plot be extended only between 46.5 and 47.5. I would for example, that my plot wasn't extented on less of 5 unites. I know I must use…
artoon
  • 729
  • 2
  • 14
  • 41
0
votes
1 answer

2D Level of Detail (LOD) algorithm for points

I am creating a scatterplot in Qt using Qwt. The user can choose to append several pointsets to the scatterplot. However performance is a problem. If the total number of points exceeds say 10 000 things get slow. I am therefore looking for an…
Andy
  • 3,251
  • 4
  • 32
  • 53
0
votes
3 answers

QwtPlot on QGraphicsView resize

I have a class TimeGraph with a qwtplot. This qwtplot is displayed on a QGraphicsView. A qwtplot has method resize en resizeEvent but I don't understand how use them. TimeGraph::TimeGraph(QWidget* parent, int in_display_time, QwtText title) { …
artoon
  • 729
  • 2
  • 14
  • 41
0
votes
1 answer

Qwt widget showed in QT creator, but when compile error cannot open include file

I compile qwt as instruction in INSTALL file for qt creator using MSVC, after adding CONFIG +=qwt, I got the widget showed on qt creator, I try to include some header file, but when I compile, I got error "can open include file, no such file or…
Thuc-Tram Ngo
  • 37
  • 2
  • 5
0
votes
2 answers

error: 'qAbs' was not declared in this scope

When I tried to install qwt manually, I got this error. How can I fix it? Thanks ahead. By the way, I also tried to install qwt by using command yum install, but after that I can't find where the qwt was installed.
Juneyee
  • 389
  • 2
  • 6
  • 15
0
votes
1 answer

Error when installing Qwt 6.02 on OSX 10.8.3

After commands qmake -spec macx-g++ make make install I'm getting ld: library not found for -lqwt collect2: ld returned 1 exit status make[2]: *** [../../lib/qwtmathml.framework/qwtmathml] Error 1 make[1]: *** [sub-mathml-make_default] Error…
Scientist1642
  • 1,172
  • 1
  • 11
  • 17
0
votes
2 answers

QwtPlot mouse click event

I need to get x and y coordinates of mouse click on QwtPlot drawing area (not the whole widget!). The problem is that there's only method bool event(QEvent*) that is called on every event. I've found some solutions…
SP5RFD
  • 841
  • 3
  • 17
  • 31
0
votes
1 answer

Qwt Plot not starting in origin

I use a Qwtplot to plot some data. Now, the axes are from 0-50 and 0-100. Unfortunately the bottom left corner of the canvas is not exactly at (0,0) but at (-0.1,-0.1) or something close. Is there any way to put it exactly at (0,0)?
Frank
  • 2,446
  • 7
  • 33
  • 67
0
votes
0 answers

Align plots in Qt

I want to be able to nicely align the description and the plot of following configuration: I want to achieve that every plot has the same size, i.e. they end all on the same imaginary vertical line. The channel names should be aligned. Currently,…
anopheles
  • 434
  • 1
  • 9
  • 19
0
votes
1 answer

Qwt missing includes

When typing the following line: QwtPointSeriesData* myData = new QwtPointSeriesData; It says to me that identifier is undefined. But I have typed the following includes in which, it was mentioned that it cannot open those opens pource…
Zeus M
  • 407
  • 2
  • 7
  • 13
0
votes
2 answers

How to install qwtpolar library on ubuntu 12.04?

I'm trying to install newest version of qwtpolar on my ubuntu 12.04. Before, I've installed Qt4 dev libs, Qtcreator and Qwt-dev from ubuntu repository. Everything works great. But now I need to use a polar plot. Unfortunately there is no deb package…
SP5RFD
  • 841
  • 3
  • 17
  • 31
0
votes
1 answer

change color and size of qwtSlider

I would like to change the colors of the handle of a qwtSlider. Also I would like to set the size of the slider-bar itself. I know I can use setBackgroundStyle(), but I would like to specify the size and color of all parts myself.
Frank
  • 2,446
  • 7
  • 33
  • 67
0
votes
1 answer

Can I display a QWT Plot's Z-axis interval on the left side?

I have a colored waterfall display implemented as a QwtPlot with a data container derived from QwtRasterData (m_SpectroPlot below). The values painted correspond to the Z-axis of the data, taken from a color map that is shown on the right side of…
Travis Christian
  • 2,412
  • 2
  • 24
  • 41
0
votes
1 answer

Weird second line in QwtPlotCurve

I have a text file where I get my values, I have a timer which works as an increaser to the x axis so the plot is real time. here's my code. void gui::x() { int xy = 0; QVector x(1000), y(1000); FILE *file; char…
SamuelNLP
  • 4,038
  • 9
  • 59
  • 102
0
votes
1 answer

qwtplot - adding data

QVector x(101), y(101); for (int i=0; i<101; ++i) { x[i] = i/50.0 - 1; y[i] = x[i]*x[i]; } QwtPlotCurve *curve; curve->setData(x,y); curve->attach(plot_all[0]); Assuming plot_all[0] is my QwtPlot, what wrong here? It crashes my…
SamuelNLP
  • 4,038
  • 9
  • 59
  • 102