|
wxPlot 1.8
Real time plot library for wxWidgets
|
Line class. Does the most of the things in 2D. More...
#include <line.hpp>
Public Member Functions | |
| void | setLimits (const double minX, const double maxX, const double minY, const double maxY) |
| Set minimum and maximum limits of the data. | |
| void | setPlotStartWidth (const wxCoord plotStartWidth) |
| Set the left upper corner in X-axis. Inside this rectangle, the plot is drawn. NOTE: This value is recalculated since the plot figure is drawn! (plotStartWidth, plotStartHeight) --------------------------------------------— (plotEndWidth, plotStartHeight) | |
| void | setPlotStartHeight (const wxCoord plotStartHeight) |
| Set the left upper corner in Y-axis. Inside this rectangle, the plot is drawn. NOTE: This value is recalculated since the plot figure is drawn! (plotStartWidth, plotStartHeight) --------------------------------------------— (plotEndWidth, plotStartHeight) | |
| void | setPlotEndWidth (const wxCoord plotEndWidth) |
| Set the right upper corner in X-axis. Inside this rectangle, the plot is drawn. NOTE: This value is recalculated since the plot figure is drawn! (plotStartWidth, plotStartHeight) --------------------------------------------— (plotEndWidth, plotStartHeight) | |
| void | setPlotEndHeight (const wxCoord plotEndHeight) |
| Set the right bottom corner in Y-axis. Inside this rectangle, the plot is drawn. NOTE: This value is recalculated since the plot figure is drawn! (plotStartWidth, plotStartHeight) --------------------------------------------— (plotEndWidth, plotStartHeight) | |
| virtual void | draw (wxDC &dc, const std::vector< double > &xData, const std::vector< double > &yData, const unsigned int colourIndex) |
| Draw the line plot inside the rectangle. | |
Line class. Does the most of the things in 2D.
|
virtual |
| void Line::setLimits | ( | const double | minX, |
| const double | maxX, | ||
| const double | minY, | ||
| const double | maxY ) |
Set minimum and maximum limits of the data.
| minX | Minimum limit in X-axis. |
| maxX | Maximum limit in X-axis. |
| minY | Minimum limit in Y-axis. |
| maxY | Maximum limit in Y-axis. |
| void Line::setPlotEndHeight | ( | const wxCoord | plotEndHeight | ) |
Set the right bottom corner in Y-axis. Inside this rectangle, the plot is drawn. NOTE: This value is recalculated since the plot figure is drawn! (plotStartWidth, plotStartHeight) --------------------------------------------— (plotEndWidth, plotStartHeight)
(plotStartWidth, plotEndHeight) --------------------------------------------— (plotEndWidth, plotEndHeight)
| plotEndHeight | End height is at the end of Y-axis. |
| void Line::setPlotEndWidth | ( | const wxCoord | plotEndWidth | ) |
Set the right upper corner in X-axis. Inside this rectangle, the plot is drawn. NOTE: This value is recalculated since the plot figure is drawn! (plotStartWidth, plotStartHeight) --------------------------------------------— (plotEndWidth, plotStartHeight)
(plotStartWidth, plotEndHeight) --------------------------------------------— (plotEndWidth, plotEndHeight)
| plotEndWidth | End width is at the end of X-axis. |
| void Line::setPlotStartHeight | ( | const wxCoord | plotStartHeight | ) |
Set the left upper corner in Y-axis. Inside this rectangle, the plot is drawn. NOTE: This value is recalculated since the plot figure is drawn! (plotStartWidth, plotStartHeight) --------------------------------------------— (plotEndWidth, plotStartHeight)
(plotStartWidth, plotEndHeight) --------------------------------------------— (plotEndWidth, plotEndHeight)
| plotStartHeight | Start height is at the start of Y-axis. |
| void Line::setPlotStartWidth | ( | const wxCoord | plotStartWidth | ) |
Set the left upper corner in X-axis. Inside this rectangle, the plot is drawn. NOTE: This value is recalculated since the plot figure is drawn! (plotStartWidth, plotStartHeight) --------------------------------------------— (plotEndWidth, plotStartHeight)
(plotStartWidth, plotEndHeight) --------------------------------------------— (plotEndWidth, plotEndHeight)
| plotStartWidth | Start width is at the start of X-axis. |