pdk.Plot.Components.Component (pdk.PropertyManagers.PropertyManager )
_Plot (pdk.Plot.Components.Component , pdk.PropertyManagers.ComponentPropertyManager )
BarPlot
ErrorbarPlot
ScatterPlot
LinePlot
pdk.PropertyManagers.ComponentPropertyManager (pdk.PropertyManagers.PropertyManager )
_Plot (pdk.Plot.Components.Component , pdk.PropertyManagers.ComponentPropertyManager )
BarPlot
ErrorbarPlot
ScatterPlot
LinePlot
__builtin__.dict (__builtin__.object )
_PlotTypeRegistry
class BarPlot (_Plot )
Purpose: bar plot
Detail: draws one uniform set of bars; can be used in conjunction
with other BarPlots to produce a completed bar chart.
Note that there is currently no good way to specify that
"shift" and "size" should be auto-set by looking at all bars
on the plot. This needs to be added.
Method resolution order:
BarPlot
_Plot
pdk.Plot.Components.Component
pdk.PropertyManagers.ComponentPropertyManager
pdk.PropertyManagers.PropertyManager
__builtin__.object
Methods defined here:
getLegendExtent (self)
submitData (self, primitiveL)
submitLabels (self, *argT)
submitLegend (self, primitiveL, x, y, width, height)
Data and non-method functions defined here:
PROPERTIES = {'baraxis': <pdk.Properties.EnumProperty instance>, 'barstyle': <pdk.Properties.InstanceProperty instance>, 'base': <pdk.Properties.FloatProperty instance>, 'shift': <pdk.Properties.SequenceProperty instance>, 'size': <pdk.Properties.SequenceProperty instance>}
class ErrorbarPlot (_Plot )
Method resolution order:
ErrorbarPlot
_Plot
pdk.Plot.Components.Component
pdk.PropertyManagers.ComponentPropertyManager
pdk.PropertyManagers.PropertyManager
__builtin__.object
Methods defined here:
getLegendExtent (self)
submitData (self, primitiveL)
submitLabels (self, primitiveL)
submitLegend (self, primitiveL, x, y, width, height)
Data and non-method functions defined here:
PROPERTIES = {'capwidth': <pdk.Properties.FloatProperty instance>, 'displayaxis': <pdk.Properties.EnumProperty instance>, 'errorvalues': <pdk.Properties.PropertyGroup instance>, 'grouping': <pdk.Properties.PropertyGroup instance>, 'linestyle': <pdk.Properties.InstanceProperty instance>, 'shift': <pdk.Properties.SequenceProperty instance>}
class ScatterPlot (_Plot )
Purpose: scatter plot
Detail: defines a format (methods and parameters) used to draw a
scatter plot of a data series.
Method resolution order:
ScatterPlot
_Plot
pdk.Plot.Components.Component
pdk.PropertyManagers.ComponentPropertyManager
pdk.PropertyManagers.PropertyManager
__builtin__.object
Methods defined here:
getLegendExtent (self)
submitData (self, primitiveL)
submitLabels (self, primitiveL)
submitLegend (self, primitiveL, x, y, width, height)
Data and non-method functions defined here:
PROPERTIES = {'labeloffset': <pdk.Properties.AnyProperty instance>, 'labelprefix': <pdk.Properties.StringProperty instance>, 'labels': <pdk.Properties.AnyProperty instance>, 'labelstyle': <pdk.Properties.InstanceProperty instance>, 'symbol': <pdk.Properties.InstanceProperty instance>, 'symbolstyle': <pdk.Properties.InstanceProperty instance>}
class _Plot (pdk.Plot.Components.Component , pdk.PropertyManagers.ComponentPropertyManager )
Purpose: abstract base class for plot components of a graph
Method resolution order:
_Plot
pdk.Plot.Components.Component
pdk.PropertyManagers.ComponentPropertyManager
pdk.PropertyManagers.PropertyManager
__builtin__.object
Methods defined here:
getDataBounds (self)
getExtrema (self)
getFrameTransformedData (self, dataA, cache=0 )
performs the transformation from data to frame coordinates. For
frequently re-used arrays (e.g., the data set or the data bounds), a
copy of the resulting transformed data can be cached for increased
interactive performance.
getLegendExtent (self)
this is called from the legend component so that the overall necessary
legend width can be determined. Should return the legend text entry
width (in characters) and the legend graphical entry size (in pixels;
graphical entries have to be square!).
getMax (self)
getXMax (self)
getXMin (self)
getYMax (self)
getYMin (self)
getZMax (self)
getZMin (self)
setDataBounds (self, dataBoundA)
submit (self, graph)
submitData (self, primitiveL)
submitLabels (self, primitiveL)
submitLegend (self, x, y, width, height)
this is also called from the legend component; it is responsible for
drawing the graphical representation of this plot into the area defined
by the top left corner at x ,`y` and width width and height
height .
Data and non-method functions defined here:
PROPERTIES = {'axes': <pdk.Properties.InstanceProperty instance>, 'dataset': <pdk.Properties.InstanceProperty instance>, 'legendtext': <pdk.Properties.StringProperty instance>}