Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members Related Pages Search
WhiskerPlot Class ReferenceWhiskerPlot for creating box-and-whisker plots.
More...
#include <whiskerplot.h>
Inheritance diagram for WhiskerPlot:
[legend]Collaboration diagram for WhiskerPlot:
[legend]List of all members.
|
Public Methods |
| WhiskerPlot (std::vector< double > &xlist, bool show, const QColor &color) |
virtual | ~WhiskerPlot () |
virtual void | drawPlot (QPainter *, int *, StatPlotGraph *graph, double xScale, double yScale) |
| Draw the plot onto the given QPainter.
|
virtual void | trace (double, double, double *, double *) |
| Set where the pointer should be for tracing.
|
virtual std::string | updateCoords (double, double) |
| This returns a string that will be displayed to the user.
|
virtual void | zoomStat (double *xmin, double *xmax, double *ymin, double *ymax) |
| Set xmin, xmax, ymin, and ymax to the values the graph should have in order to zoom into the plot.
|
Detailed Description
WhiskerPlot for creating box-and-whisker plots.
- Author:
-
Fungmeista
Definition at line 31 of file whiskerplot.h.
Member Function Documentation
void WhiskerPlot::drawPlot |
( |
QPainter * |
, |
|
|
int * |
, |
|
|
StatPlotGraph * |
graph, |
|
|
double |
xScale, |
|
|
double |
yScale |
|
) |
[virtual] |
|
void WhiskerPlot::trace |
( |
double |
, |
|
|
double |
, |
|
|
double * |
, |
|
|
double * |
|
|
) |
[virtual] |
|
|
Set where the pointer should be for tracing.
The given x and y integers are where the mouse is hovering over. Set where the x and y coordinates of the mouse should be for tracing in the variables new_x and new_y.
Implements PlotModule.
Definition at line 92 of file whiskerplot.cpp. |
std::string WhiskerPlot::updateCoords |
( |
double |
, |
|
|
double |
|
|
) |
[virtual] |
|
|
This returns a string that will be displayed to the user.
x and y are the current coordinates of the mouse.
Implements PlotModule.
Definition at line 108 of file whiskerplot.cpp. |
The documentation for this class was generated from the following files:
|