Warning, /frameworks/kplotting/README.md is written in an unsupported language. File is not indexed.
0001 # KPlotting 0002 0003 Data plotting 0004 0005 ## Introduction 0006 0007 KPlotWidget is a QWidget-derived class that provides a virtual base class 0008 for easy data-plotting. The idea behind KPlotWidget is that you only have 0009 to specify information in "data units"; i.e., the natural units of the 0010 data being plotted. KPlotWidget automatically converts everything 0011 to screen pixel units. 0012 0013 KPlotWidget draws X and Y axes with tick marks and tick labels. It 0014 automatically determines how many tick marks to use and where they should 0015 be, based on the data limits specified for the plot. You change the limits 0016 by calling `setLimits(double x1, double x2, double y1, double y2)`. 0017 0018 Data to be plotted are stored using the KPlotObject class. KPlotObject 0019 consists of a QList of QPointF's, each specifying the X,Y coordinates 0020 of a data point. KPlotObject also specifies the "type" of data to be 0021 plotted (POINTS or CURVE or POLYGON or LABEL). 0022