 
       wx.lib.plot.polyobjects.PlotGraphics¶
  wx.lib.plot.polyobjects.PlotGraphics¶Creates a PlotGraphics object.
| param objects: | The Poly objects to plot. | 
|---|---|
| type objects: | list of PolyPointsobjects | 
| param title: | The title shown at the top of the graph. | 
| type title: | str | 
| param xLabel: | The x-axis label. | 
| type xLabel: | str | 
| param yLabel: | The y-axis label. | 
| type yLabel: | str | 
Warning
All methods except __init__ are private.
 Methods Summary¶
 Methods Summary¶| __init__ | |
| boundingBox | |
| draw | |
| getLegendNames | Returns list of legend names | 
| getSymExtent | Get max width and height of lines and markers symbols for legend | 
| getTitle | Get the title at the top of graph | 
| getXLabel | Get X axis label string | 
| getYLabel | Get Y axis label string | 
| scaleAndShift | |
| setLogScale | Set the log scale boolean value. | 
| setPrinterScale | Thickens up lines and markers only for printing | 
| setTitle | Set the title at the top of graph | 
| setXLabel | Set the X axis label on the graph | 
| setYLabel | Set the Y axis label on the graph | 
 Properties Summary¶
 Properties Summary¶| absScale | |
| logScale | |
| printerScale | |
| title | Get the title at the top of graph | 
| xLabel | Get the X axis label on the graph | 
| yLabel | Get the Y axis label on the graph | 
 Class API¶
 Class API¶PlotGraphics(object)¶Creates a PlotGraphics object.
| Parameters: | 
 | 
|---|
Warning
All methods except __init__ are private.
__init__(self, objects, title='', xLabel='', yLabel='')¶boundingBox(self)¶draw(self, dc)¶getLegendNames(self)¶Returns list of legend names
getSymExtent(self, printerScale)¶Get max width and height of lines and markers symbols for legend
getTitle(self, title='')¶Get the title at the top of graph
Deprecated since version Feb: 27, 2016
Use the title
property instead.
getXLabel(self)¶Get X axis label string
Deprecated since version Feb: 27, 2016
Use the xLabel
property instead.
getYLabel(self)¶Get Y axis label string
Deprecated since version Feb: 27, 2016
Use the yLabel
property instead.
scaleAndShift(self, scale=(1, 1), shift=(0, 0))¶setLogScale(self, logscale)¶Set the log scale boolean value.
Deprecated since version Feb: 27, 2016
Use the logScale
property instead.
setPrinterScale(self, scale)¶Thickens up lines and markers only for printing
Deprecated since version Feb: 27, 2016
Use the printerScale
property instead.
setTitle(self, title='')¶Set the title at the top of graph
Deprecated since version Feb: 27, 2016
Use the title
property instead.
setXLabel(self, xLabel='')¶Set the X axis label on the graph
Deprecated since version Feb: 27, 2016
Use the xLabel
property instead.
setYLabel(self, yLabel='')¶Set the Y axis label on the graph
Deprecated since version Feb: 27, 2016
Use the yLabel
property instead.
printerScale¶See printerScale , printerScale
title¶Get the title at the top of graph
xLabel¶Get the X axis label on the graph
yLabel¶Get the Y axis label on the graph