Isis Developer Reference
Isis::QHistogram Class Reference

Plot Histograms. More...

#include <QHistogram.h>

Inheritance diagram for Isis::QHistogram:
Inheritance graph
Collaboration diagram for Isis::QHistogram:
Collaboration graph

Public Slots

void trackerEnabled ()
 Enables mouse tracking on the plot. More...
 
void cdfCurveVisible ()
 Hide/show the cdf curve. More...
 
void printPlot ()
 Provide printing capabilities. More...
 
void savePlot ()
 Allows user to save the plot to an image file. More...
 
void switchBackground ()
 Switches the plot background color between black and white. More...
 
void showHelp ()
 Provides help text in a dialog box. More...
 

Public Member Functions

 QHistogram (QWidget *parent=NULL)
 Constructs a QHistogram object with default titles. More...
 
 ~QHistogram ()
 Destroys the QHistogram object. More...
 
void Load (Histogram &hist)
 Plots the given Isis Histogram in the plot window. More...
 

Detailed Description

Plot Histograms.

This class is used to plot histograms. It is a utility class for the hist application.

Author
2006-12-21 Elizabeth Miller

Constructor & Destructor Documentation

◆ QHistogram()

Isis::QHistogram::QHistogram ( QWidget parent = NULL)

Constructs a QHistogram object with default titles.

Parameters
parent

◆ ~QHistogram()

Isis::QHistogram::~QHistogram ( )
inline

Destroys the QHistogram object.

Member Function Documentation

◆ cdfCurveVisible

void Isis::QHistogram::cdfCurveVisible ( )
slot

Hide/show the cdf curve.

◆ Load()

void Isis::QHistogram::Load ( Histogram hist)

Plots the given Isis Histogram in the plot window.

Parameters
histThe Isis Histogram to plot

References Isis::Histogram::BinCount(), Isis::Histogram::BinMiddle(), Isis::Histogram::Bins(), and Isis::Statistics::ValidPixels().

◆ printPlot

void Isis::QHistogram::printPlot ( )
slot

Provide printing capabilities.

◆ savePlot

void Isis::QHistogram::savePlot ( )
slot

Allows user to save the plot to an image file.

◆ showHelp

void Isis::QHistogram::showHelp ( )
slot

Provides help text in a dialog box.

◆ switchBackground

void Isis::QHistogram::switchBackground ( )
slot

Switches the plot background color between black and white.

◆ trackerEnabled

void Isis::QHistogram::trackerEnabled ( )
slot

Enables mouse tracking on the plot.


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