The Qt library archive

Loading...

Home

KPlotting

Lightweight plotting framework

Version:
5.32.0 (stable)released on 2017-02-23(older versions: 5.31.0, 5.30.0, 5.29.0, 5.28.0, 5.27.0, 5.26.0, 5.24.0, 5.23.0, 5.22.0, 5.21.0, 5.20.0, 5.19.0, 5.18.0, 5.17.0, 5.16.0, 5.15.0, 5.14.0, 5.13.0, 5.13.0, 5.10.0, 5.7.0, 5.6.0, 5.5.0, 5.4.0, 5.3.0, 5.2.0, 5.1.0, 5.0.0, 4.98.0, 4.97.0)
License:
LGPLv2.1+
Platform:
Linux
Author:
The KDE Community
Topic:
Graphics
Home page:

KPlotWidget is a QWidget-derived class that provides a virtual base class for easy data-plotting. The idea behind KPlotWidget is that you only have to specify information in “data units”; i.e., the natural units of the data being plotted. KPlotWidget automatically converts everything to screen pixel units.

KPlotWidget draws X and Y axes with tick marks and tick labels. It automatically determines how many tick marks to use and where they should be, based on the data limits specified for the plot. You change the limits by calling setLimits(double x1, double x2, double y1, double y2).

Data to be plotted are stored using the KPlotObject class. KPlotObject consists of a QList of QPointF’s, each specifying the X,Y coordinates of a data point. KPlotObject also specifies the “type” of data to be plotted (POINTS or CURVE or POLYGON or LABEL).


Read more


Packages