Package Vision :: Module matplotlibNodes :: Class BoxPlotNE
[hide private]
[frames] | no frames]

Class BoxPlotNE

source code

                             object --+                        
                                      |                        
NetworkEditor.itemBase.NetworkItemsBase --+                    
                                          |                    
        NetworkEditor.itemBase.NetworkItems --+                
                                              |                
            NetworkEditor.items.NetworkNodeBase --+            
                                                  |            
                    NetworkEditor.items.NetworkNode --+        
                                                      |        
                                              MPLBaseNE --+    
                                                          |    
                                            MPLPlottingNode --+
                                                              |
                                                             BoxPlotNE

To plot a box and whisker plot for each column of x.
The box extends from the lower to upper quartile values
of the data, with a line at the median.  The whiskers
extend from the box to show the range of the data.  Flier
points are those past the end of the whiskers.
input:
        x       -       Numeric array
optional arguements:
        notch   -       notch = 0 (default) produces a rectangular box plot.
                        notch = 1 will produce a notched box plot
        sym     -       (default 'b+') is the default symbol for flier points.
                        Enter an empty string ('') if you dont want to show fliers.
        vert    -       vert = 1 (default) makes the boxes vertical.
                        vert = 0 makes horizontal boxes.  This seems goofy, but
                        thats how Matlab did it.
        whis    -       (default 1.5) defines the length of the whiskers as
                        a function of the inner quartile range.  They extend to the
                        most extreme data point within ( whis*(75%-25%) ) data range.
        positions-      (default 1,2,...,n) sets the horizontal positions of
                        the boxes. The ticks and limits are automatically set to match
                        the positions.
        widths    -     either a scalar or a vector and sets the width of
                        each box. The default is 0.5, or 0.15*(distance between extreme
                        positions) if that is smaller.
        
Returns a list of the lines added



Instance Methods [hide private]
  __init__(self, name='BoxPlot', **kw)

Inherited from MPLPlottingNode: afterAddingToNetwork, setDrawAreaDef

Inherited from MPLBaseNE: beforeRemovingFromNetwork, onlyDataChanged, setDrawArea

Inherited from NetworkEditor.items.NetworkNode: addInputPort, addOutputPort, addSpecialPorts, buildNodeIcon, buildSmallIcon, deletePort, deletePortByName, deleteSmallIcon, deselect, editorVisible, getColor, getFont, hideSpecialPorts, isExpanded, refreshInputPortData, resizeIcon, select, setColor, setFont, setModifiedTag, setProgressBar, showSpecialPorts, updatePosXPosY

Inherited from NetworkEditor.items.NetworkNodeBase: addSaveNodeMenuEntries, autoResize, autoResizeX, autoResizeY, buildIcons, checkIfNodeForSavingIsDefined, compareToOrigNodeDescr, computeFunction, configure, cut_cb, delete_cb, edit, editComputeFunction_cb, evalString, getAfterConnectionsSourceCode, getComputeFunctionSourceCode, getConnections, getDescr, getHeaderBlock, getInConnections, getInitBlock, getInputPortByName, getNodeDefinitionSourceCode, getNodeSourceCode, getNodeSourceCodeForDoit, getNodeSourceCodeForInstanciation, getNodeSourceCodeForModifications, getNodeSourceCodeForNode, getNodeSourceCodeForPorts, getNodeSourceCodeForWidgetValue, getNodeSourceCodeForWidgets, getOutConnections, getOutputPortByName, getOutputPortByType, getPortsCreationSourceCode, getSize, getSourceCode, getSpecialInputPortByName, getSpecialOutputPortByName, getStateDefinitionCode, getUniqueNodeName, getWidgetByName, getWidgetsCreationSourceCode, getWidgetsForMaster, getWidthForLabel, getWidthForNodeWidgets, getWidthForPorts, growDown, growRight, hideInNodeWidgets, isMacro, isModified, ischild, move, moveSelectedNodeEnd, outputData, rename, resetModifiedTag, resetTags, safeName, saveSource, saveSource_cb, schedule, scheduleChildren, schedule_cb, setFunction, showInNodeWidgets, startMoveOneNode, toggleNodeExpand_cb, toggleParamPanel_cb, updateCode

Inherited from NetworkEditor.itemBase.NetworkItems: __repr__, afterRemovingFromNetwork, beforeAddingToNetwork, deleteIcon, editNodeMenu, freeze, gettags, hideParamPanel, highlight, introspect, postItemMenu, run, toggleAutoRun_cb, toggleFrozen_cb, unfreeze, unhighlight

Inherited from NetworkEditor.itemBase.NetworkItems (private): _introspectCB

Inherited from NetworkEditor.itemBase.NetworkItemsBase: delEditor, getEditor, setEditor

Inherited from NetworkEditor.itemBase.NetworkItemsBase (private): _setModified, _setOriginal

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__


Class Variables [hide private]

Inherited from MPLPlottingNode: codeBeforeDisconnect


Properties [hide private]

Inherited from NetworkEditor.itemBase.NetworkItemsBase: editor

Inherited from object: __class__


Method Details [hide private]

__init__(self, name='BoxPlot', **kw)
(Constructor)

source code 
None
Overrides: MPLBaseNE.__init__