pdk.PropertyManagers.ComponentPropertyManager (pdk.PropertyManagers.PropertyManager )
Axis (pdk.PropertyManagers.ComponentPropertyManager , Component )
Frame (pdk.PropertyManagers.ComponentPropertyManager , Component )
Legend (pdk.PropertyManagers.ComponentPropertyManager , Component )
TickMarks (pdk.PropertyManagers.ComponentPropertyManager , Component )
pdk.PropertyManagers.PropertyManager (__builtin__.object )
AxisMapping
Component
Axis (pdk.PropertyManagers.ComponentPropertyManager , Component )
Frame (pdk.PropertyManagers.ComponentPropertyManager , Component )
Label
Title
Legend (pdk.PropertyManagers.ComponentPropertyManager , Component )
TickMarks (pdk.PropertyManagers.ComponentPropertyManager , Component )
Dataset
class Axis (pdk.PropertyManagers.ComponentPropertyManager , Component )
Purpose: axis component of a graph
Method resolution order:
Axis
pdk.PropertyManagers.ComponentPropertyManager
Component
pdk.PropertyManagers.PropertyManager
__builtin__.object
Methods defined here:
__init__ (self, whichAxis=0 , **initPropertyD)
addTickmarks (self, name=None , **propertyD)
adds tick marks with name name .
exportString (self, selfname)
getActualRange (self)
getAxisIndex (self)
isMapped (self)
logorigin (self)
return the start of our range, transformed by the log base.
logscale (self)
return the scale factor needed to map our range into 0-1, after a log
transformation.
origin (self)
return the start of our range.
scale (self)
return the scale factor needed to map our range into 0-1.
setActualRange (self, dataRange)
depending upon AUTO settings and the range of the data given in
dataRange set the actual bounds and tickmark spacing for this axis.
submit (self, graph)
viewOrigin (self, whichAxis)
return the origin of this graph axis in view space, along the given
coordinate axis (X, Y, or Z) -- normally, this origin is 0.
viewScale (self, whichAxis)
return the extent of this graph axis in view space, along the given
coordinate axis (X, Y, or Z) -- normally, this extent is 1.
Data and non-method functions defined here:
PROPERTIES = {'drawpos': <pdk.Properties.AnyProperty instance>, 'label': <pdk.Properties.InstanceProperty instance>, 'labeldist': <pdk.Properties.FloatProperty instance>, 'linestyle': <pdk.Properties.InstanceProperty instance>, 'logbase': <pdk.Properties.FloatProperty instance>, 'range': <pdk.Properties.SequenceProperty instance>, 'visible': <pdk.Properties.BooleanProperty instance>}
class Dataset (pdk.PropertyManagers.PropertyManager )
Purpose: plot data container class
Method resolution order:
Dataset
pdk.PropertyManagers.PropertyManager
__builtin__.object
Methods defined here:
__add__ (self, other)
__array__ (self, t=None )
__getitem__ (self, index)
__getslice__ (self, i, j)
__init__ (self, indata, **initPropertyD)
Parameters:
indata : a sequence of data values
initPropertyD : initialization properties
__len__ (self)
__radd__ = __add__ (self, other)
__rsub__ (self, other)
__sub__ (self, other)
Data and non-method functions defined here:
PROPERTIES = {}
class TickMarks (pdk.PropertyManagers.ComponentPropertyManager , Component )
Purpose: implements the axis tick marks component
Detail: keeps information about a set of tick marks -- how big
they are, the spacing, labels, etc.
Note that overlapping tickmarks are not handled yet.
Method resolution order:
TickMarks
pdk.PropertyManagers.ComponentPropertyManager
Component
pdk.PropertyManagers.PropertyManager
__builtin__.object
Methods defined here:
__init__ (self, **propertyD)
getActualSpacing (self)
returns the actual spacing.
setActualSpacing (self, magnitude)
sets the actual spacing. If the "spacing" property is set to AUTO,
the actual spacing will be set 10^`magnitude`; otherwise, it will be
set to magnitude .
submit (self, graph, axis)
Data and non-method functions defined here:
PROPERTIES = {'inextent': <pdk.Properties.FloatProperty instance>, 'labeldist': <pdk.Properties.FloatProperty instance>, 'labels': <pdk.Properties.AnyProperty instance>, 'labelstyle': <pdk.Properties.InstanceProperty instance>, 'linestyle': <pdk.Properties.InstanceProperty instance>, 'logsteps': <pdk.Properties.IntProperty instance>, 'offset': <pdk.Properties.FloatProperty instance>, 'outextent': <pdk.Properties.FloatProperty instance>, 'spacing': <pdk.Properties.AnyProperty instance>}