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

qscrollbar (not a qscrollarea) setValue not working

I am working on a qwtPlot and have implemented custom scrollbars to illustrate the position of things on the plot when zooming in (in regards to the whole thing - so basically the percentage). Now, everything works fine, apart from the moment, when…
genau
  • 184
  • 1
  • 5
  • 16
0
votes
1 answer

PyQwt Invert Axis (or, setting PyQwt Attributes)

I'm creating a Nyquist plot in PyQwt. It currently works, except I need to flip the y-axis - the convention has zero at the bottom and increasing negative numbers as you go up. I know how you would do this in C++, but cannot figure out how to do it…
schodge
  • 891
  • 2
  • 16
  • 29
0
votes
1 answer

how to get id value of the items by clicking

Here is my problem and I totally want an advice, it will be helpful to me. I want to add two items in my plot (for example two svg items). The first item is ID1, and the second item is ID2. When I click the first svg item it should emit a signal.…
alperyazir
  • 203
  • 1
  • 4
  • 14
0
votes
1 answer

QwtPlot plotLayout().canvasRect() fails

I want to plot figures with qwtplot like in Matlab with axis equal, so that a circle looks like a circle and not like an ellipse. I have not found a function like "axis equal", or have missed one? So I want to write my own function. Therefore I…
Myratel
  • 55
  • 1
  • 3
0
votes
1 answer

Plotting with QWT and Microsoft Visual C++ 2010 for MatLab equivalent graph

seeking all the people who knows how to use QWT. I am trying to duplicate a MatLab plot equivalent graph using QWT, QT5 and Visual Studio C++. The graph I am trying to duplicate is a graph of mean pixel values along the y-axis. The code in MatLab…
rockinfresh
  • 2,068
  • 4
  • 28
  • 46
0
votes
2 answers

Qt & QWT: QwtPlotCurve - Curve not showing up

I want to show a simple graph using QWT and Qt Creator: Qt version: 4.8.2, Qt Creator: 2.5.2, QWT version: 6.0.0 I added a QwtPlot to my MainWindow (called "myPlot" in the example). Then I have a callback function which is called each time I press…
Michael
  • 706
  • 9
  • 29
0
votes
0 answers

Installing Qt 5.1.1 and qwt 6.1.0 on Ubuntu 12.04

I've recently came to linux from a 1 year Windows run in Qt so I don't know how this works exactly and couldn't find any thing decent. So here it is : As is obvious from the title I'm trying to install Qt 5.1.1 and Qwt 6.1.0 in Ubuntu 12.04. I have…
Vahid Nateghi
  • 576
  • 5
  • 14
0
votes
1 answer

The size/length of a QScrollBar

I'm working on a GUI with a Qwt plot and came across a seemingly banal problem - namely I can't resize a QScrollBar the way I would like to. This is how the plot looks like: http://tinypic.com/view.php?pic=6534o0&s=5#.UpXAwoZhauY As you can see the…
genau
  • 184
  • 1
  • 5
  • 16
0
votes
1 answer

Using Qwt on Mac OS X

How can I compile and run Qt programs using Qwt on Mac OS X? I always get an error telling me that it can't find libqwt.dylib. For what I have understood from my googling it won't help to set DYLD_LIBRARY_PATH in environment.plist since Apple has…
Buzzzz
  • 887
  • 3
  • 11
  • 18
0
votes
0 answers

QwtPlot sending runtime exception when trying to show a curve with 8000 points

I'm trying to show two curves in a QwtPlot and replot each 20 miliseconds. But when I run my program it throws a runtime exception. Here are my variables: QwtPlot * spectrum = new QwtPlot(); QwtPlotCurve * Tcurve = new QwtPlotCurve(); QwtPlotCurve…
Vahid Nateghi
  • 576
  • 5
  • 14
0
votes
1 answer

qwt - a scroll bar appears without any reason

I have a plotWidget class which is responsible for plotting data on a QwtPlot *plot (the QwtPlot *plot is a member of my plotWidget class). My problem is the following: The user chooses how many different curves he wants to plot. Then the program…
user2738748
  • 1,106
  • 2
  • 19
  • 36
0
votes
2 answers

PyQwt QwtPlot Slow

I'm using PyQwt to plot a moderate data set (666528 points) and its takes a rdiculously long time to replot zoom, ect. ncalls tottime percall cumtime percall filename:lineno(function) 1 2.115 2.115 2.116 2.116 {built-in method…
TexasRaptor
  • 105
  • 5
0
votes
1 answer

Recording a curve / polygon from canvas with PyQwt via Mouse

i'm trying to let the user draw a curve on my plot canvas via mouse click-and-release, to emit a signal after releasing the mouse and send the array of points to another method for further processing. Right now my code looks like…
moatilliatta
  • 365
  • 1
  • 7
  • 18
0
votes
1 answer

QWT designer plugin is inaccesable via QtCreator built-in designer

I've installed QWT 6.1.0 over a Qt 5.0.1. It installed correctly, but I have one problem with QWT Designer plugin: when I accessing QtDesigner separatly it works correct. But when I trying to use it inside a Creator it don't works: there is no qwt…
0
votes
1 answer

Disconnect first and last point with QwtPlotCurve

I have a problem when I draw a curve in Qt thanks to the Qwt library. The curve drawing is fine, excepted for the fact that the last point and the first point are connected, the QwtPlot actually draws a polygon with the data I provide... I've looked…
JBL
  • 12,588
  • 4
  • 53
  • 84