Phoenix Logo

phoenix_title wx.lib.plot.polyobjects.PolyMarker

Creates a PolyMarker object.

param points:The marker coordinates.
type points:list of [x, y] values
param **attr:keyword attributes
Keyword and Default Description Type
marker='circle' see below str
size=2 Marker size float
colour='black' Outline color wx.Colour
width=1 Outline width float
style=wx.PENSTYLE_SOLID Outline style wx.PenStyle
fillcolour=colour fill color wx.Colour
fillstyle=wx.BRUSHSTYLE_SOLID fill style wx.BrushStyle
legend='' Legend string str
Marker Description
'circle' A circle of diameter size
'dot' A dot. Does not have a size.
'square' A square with side length size
'triangle' An upward-pointed triangle
'triangle_down' A downward-pointed triangle
'cross' An “X” shape
'plus' A “+” shape

Warning

All methods except __init__ are private.


class_hierarchy Class Hierarchy

Inheritance diagram for class PolyMarker:

method_summary Methods Summary

__init__  
draw Draw the points
getSymExtent Width and Height of Marker

api Class API



class PolyMarker(PolyPoints)

Creates a PolyMarker object.

Parameters:
  • points (list of [x, y] values) – The marker coordinates.
  • **attr – keyword attributes
Keyword and Default Description Type
marker='circle' see below str
size=2 Marker size float
colour='black' Outline color wx.Colour
width=1 Outline width float
style=wx.PENSTYLE_SOLID Outline style wx.PenStyle
fillcolour=colour fill color wx.Colour
fillstyle=wx.BRUSHSTYLE_SOLID fill style wx.BrushStyle
legend='' Legend string str
Marker Description
'circle' A circle of diameter size
'dot' A dot. Does not have a size.
'square' A square with side length size
'triangle' An upward-pointed triangle
'triangle_down' A downward-pointed triangle
'cross' An “X” shape
'plus' A “+” shape

Warning

All methods except __init__ are private.


Methods



__init__(self, points, **attr)


draw(self, dc, printerScale, coord=None)

Draw the points



getSymExtent(self, printerScale)

Width and Height of Marker