Table Of Contents

Previous topic

PlotCanvas

Next topic

PlotPrintout

This Page

phoenix_title PlotGraphics

Container to hold PolyXXX objects and graph labels - All methods except __init__ are private.


class_hierarchy Inheritance Diagram

Inheritance diagram for class PlotGraphics

Inheritance diagram of PlotGraphics


method_summary Methods Summary

__init__ Creates PlotGraphics object
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  
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

api Class API



class PlotGraphics

Container to hold PolyXXX objects and graph labels - All methods except __init__ are private.


Methods



__init__(self, objects, title='', xLabel='', yLabel= '')

Creates PlotGraphics object objects - list of PolyXXX objects to make graph title - title shown at top of graph xLabel - label shown on x-axis yLabel - label shown on y-axis



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



getXLabel(self)

Get x axis label string



getYLabel(self)

Get y axis label string



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


setLogScale(self, logscale)


setPrinterScale(self, scale)

Thickens up lines and markers only for printing



setTitle(self, title= '')

Set the title at the top of graph



setXLabel(self, xLabel= '')

Set the X axis label on the graph



setYLabel(self, yLabel= '')

Set the Y axis label on the graph