Table of Contents

Class: PlotGraphics ./gui/interfaces/wxPyPlot.py

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

Methods   
__getitem__
__init__
__len__
boundingBox
draw
getLegendNames
getSymExtent
getTitle
getXLabel
getYLabel
scaleAndShift
setPrinterScale
setTitle
setXLabel
setYLabel
  __getitem__ 
__getitem__ ( self,  item )

  __init__ 
__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

Exceptions   
TypeError, "objects argument should be list or tuple"
  __len__ 
__len__ ( self )

  boundingBox 
boundingBox ( self )

  draw 
draw ( self,  dc )

  getLegendNames 
getLegendNames ( self )

Returns list of legend names

  getSymExtent 
getSymExtent ( self,  printerScale )

Get max width and height of lines and markers symbols for legend

  getTitle 
getTitle ( self,  title='' )

Get the title at the top of graph

  getXLabel 
getXLabel ( self )

Get x axis label string

  getYLabel 
getYLabel ( self )

Get y axis label string

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

  setPrinterScale 
setPrinterScale ( self,  scale )

Thickens up lines and markers only for printing

  setTitle 
setTitle ( self,  title='' )

Set the title at the top of graph

  setXLabel 
setXLabel ( self,  xLabel='' )

Set the X axis label on the graph

  setYLabel 
setYLabel ( self,  yLabel='' )

Set the Y axis label on the graph


Table of Contents

This document was automatically generated on Tue Jul 15 21:19:13 2003 by HappyDoc version 2.0.1