I am using Qwt now for two years. I like its object oriented classes, which makes it very easy to adapt the plots and functionality. These days QCustomPlot is becoming more
When Plotting lots of points. and user concentrate the point to whole plot. ie (x, y axis is fully covered with pixels)
(points count = given below calculation)
while dragging the plot:
What i noticed is: while dragging, Qwt only drags the plot area and after dropping it draw on the area. whereas QCustomPlot try to replot before dropping. (note sure but this could help QCustomPlot guys make it better.)
Also, Qwt provide raw buffer option that can be managed externally. i was able to decrease (QcustomPlot)150Mb to less that (Qwt)40Mb. keeping,
QCustomPlot force user to allocate memory to X axis (errorbar+ , errorbar-), y axis (errorbar+, errorbar-) (2 * 2 * sizeof(double)) memory is wasted out of 3 * 2 * sizeof(double) ie 32byte out of 48byte is waste (for 1sample) where as only Qwt required 16byte for one sample (for x, and y).
afai understand, errorbar can be achieved in Qwt also
even after Anti-aliased enabled, Qwt was way much better in performance.
NOTES:
Qwt can be made much more good looking just after changing it background to white, antialiased enabled and grids
Tested on:
also, QCustomPlot peform same on Qt4.
these are my finding, and may vary from conditions to conditions.
i have switch back to Qwt. hope this help others in selecting. :)
minor:
please correct me if im wrong on some points.
I wouldn't call myself "experienced", as I used Qwt only for a few months, and QCustomPlot for a few weeks. That being said, my impressions are:
EDIT: Author of QCustomPlot is aware of missing functionality to set plot background and promises to add it in upcoming release.
There's also another important difference between QCustomPlot and Qwt - licensing. - Qwt is LGPL, so you can link it into non-GPL project. QCustomPlot is GPL v.3, which many people (myself included) find WAY too restrictive. QCustomPlot author invites to contact him if you want LGPL license.
EDIT2 (25 March 2013): New releases of Qwt branches 5.* and 6.* appeared in November, which annuls "more actively developed" advantage of QCustomplot
Pros:
Cons:
double
s for each data point even when you only need X
and Y
QMap
to store the data points and keep them sorted. Very efficient for panning and zooming but very slow to populate when the number of samples is large (e.g. 1,000,000 data points)I can't compare both libraries since I only use QCustomPlot (for a year now) but I believe my comment may be useful to other nevertheless.
Pros of QCustomPlot:
Cons of QCustomPlot:
If LGPL-ish license is required, there may not be a free of charge option (depends on the consideration of the author). Given the quality and usability of the library, the donation my company gave in exchange for the LGPL license agreement was not undue.