Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kde/kplotting
KPlotting
https://github.com/kde/kplotting
Last synced: 4 days ago
JSON representation
KPlotting
- Host: GitHub
- URL: https://github.com/kde/kplotting
- Owner: KDE
- Created: 2015-09-18T16:25:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-15T15:23:31.000Z (2 months ago)
- Last Synced: 2024-09-15T16:42:48.275Z (2 months ago)
- Language: C++
- Homepage: https://invent.kde.org/frameworks/kplotting
- Size: 324 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/CC0-1.0.txt
Awesome Lists containing this project
README
# KPlotting
Data plotting
## Introduction
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).