Phoenix Logo

phoenix_title 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 Class Hierarchy

Inheritance diagram for class PlotGraphics:


method_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

property_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

api 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='')


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



wrapper(*args, **kwargs)

Get the title at the top of graph

Deprecated since version Feb: 27, 2016

Use the title property instead.



wrapper(*args, **kwargs)

Get X axis label string

Deprecated since version Feb: 27, 2016

Use the xLabel property instead.



wrapper(*args, **kwargs)

Get Y axis label string

Deprecated since version Feb: 27, 2016

Use the yLabel property instead.



scaleAndShift(self, scale=(1, 1), shift=(0, 0))


wrapper(*args, **kwargs)

Set the log scale boolean value.

Deprecated since version Feb: 27, 2016

Use the logScale property instead.



wrapper(*args, **kwargs)

Thickens up lines and markers only for printing

Deprecated since version Feb: 27, 2016

Use the printerScale property instead.



wrapper(*args, **kwargs)

Set the title at the top of graph

Deprecated since version Feb: 27, 2016

Use the title property instead.



wrapper(*args, **kwargs)

Set the X axis label on the graph

Deprecated since version Feb: 27, 2016

Use the xLabel property instead.



wrapper(*args, **kwargs)

Set the Y axis label on the graph

Deprecated since version Feb: 27, 2016

Use the yLabel property instead.


Properties



absScale

See absScale , absScale



logScale

See logScale , logScale



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