wx.lib.plot.polyobjects.PlotGraphics¶
Creates a PlotGraphics object.
- param objects:
The Poly objects to plot.
- type objects:
list of
PolyPoints
objects- 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.
Class Hierarchy¶
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Returns list of legend names |
|
Get max width and height of lines and markers symbols for legend |
|
Get the title at the top of graph |
|
Get X axis label string |
|
Get Y axis label string |
|
Set the log scale boolean value. |
|
Thickens up lines and markers only for printing |
|
Set the title at the top of graph |
|
Set the X axis label on the graph |
|
Set the Y axis label on the graph |
Properties Summary¶
Get the title at the top of graph |
|
Get the X axis label on the graph |
|
Get the Y axis label on the graph |
Class API¶
- class PlotGraphics(object)¶
Creates a PlotGraphics object.
- Parameters:
objects (list of
PolyPoints
objects) – The Poly objects to plot.title (str) – The title shown at the top of the graph.
xLabel (str) – The x-axis label.
yLabel (str) – The y-axis label.
Warning
All methods except
__init__
are private.
Methods¶
- __init__(self, objects, title='', xLabel='', yLabel='')¶
Initialize self. See help(type(self)) for accurate signature.
- 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.
Properties¶
- 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