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  

StatPlotGraph Class Reference

Plot several different statistical graphs in two dimensions. These include box-and-whisker plots, frequency distribution, and scatter plots. More...

#include <statplotgraph.h>

Inheritance diagram for StatPlotGraph:

Inheritance graph
[legend]
Collaboration diagram for StatPlotGraph:

Collaboration graph
[legend]
List of all members.

Public Slots

void nextPlot ()
void prevPlot ()
void zoomStat ()
void setTrace (bool b)
bool isTracing () const
virtual int getGraphType () const
void addPlot (unsigned int index, PlotModule *)
void removePlot (unsigned int index)
void setActivePlot (unsigned int plot)
void setShowCurrentPlot (bool show)
QColor getColor (unsigned int i) const

Public Methods

 StatPlotGraph (QWidget *parent=0, const char *name=0)
 ~StatPlotGraph ()
unsigned int getCurrentPlotIndex () const
virtual void print (QPrinter *)
 Prints graph as is.

void exportAsImage (const QString &, const QString &)
 Saves the graph as an image.

void getPixmap (QPixmap &pm)

Static Public Attributes

const unsigned int ERROR_EMPTY_XLIST = 0
const unsigned int ERROR_EMPTY_YLIST = 1

Protected Methods

void updateCoords ()
void paintEvent (QPaintEvent *)
void mouseMoveEvent (QMouseEvent *m)

Friends

class PlotModule

Detailed Description

Plot several different statistical graphs in two dimensions. These include box-and-whisker plots, frequency distribution, and scatter plots.

Author:
Fungmeista

Definition at line 32 of file statplotgraph.h.


Member Function Documentation

void StatPlotGraph::exportAsImage const QString &   ,
const QString &   
[virtual]
 

Saves the graph as an image.

Parameters:
filename  Path plus the complete name of the image file to save to. This should include the suffix of the file name if one is desired.
suffix  This specifies what type of image format export the graph as. This should be the standard file suffix of the desired image format (png, jpg, bmp, etc.).

Implements CommonGraph.

Definition at line 200 of file statplotgraph.cpp.

void StatPlotGraph::print QPrinter *    [virtual]
 

Prints graph as is.

A printer setup dialog will be opened.

Reimplemented from BasicGraph.

Definition at line 175 of file statplotgraph.cpp.

References BasicGraph::backgroundColor().


The documentation for this class was generated from the following files: