Home

Download

Features

Screenshots

Handbook

Browse Source

Authors

SourceForge.net Logo
Hosted by SourceForge.net

OSI Certified


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Search  

WhiskerPlot Class Reference

WhiskerPlot for creating box-and-whisker plots. More...

#include <whiskerplot.h>

Inheritance diagram for WhiskerPlot:

Inheritance graph
[legend]
Collaboration diagram for WhiskerPlot:

Collaboration graph
[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]
 

Draw the plot onto the given QPainter.

The given parameters may or may not be necessary to draw this.

Implements PlotModule.

Definition at line 40 of file whiskerplot.cpp.

References PlotModule::color().

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: