Table of Contents

Class: ProbabilityColorMapper compClust/IPlot.py

A fixed probabiliy color mapper

Base Classes   
ColorMapper
Methods   
__init__
getPlotColors
setHueByPartitioning
setHueByProbability
setProbabilityLabeling
  __init__ 
__init__ (
        self,
        plotView,
        probabilities,
        )

  getPlotColors 
getPlotColors ( self )

  setHueByPartitioning 
setHueByPartitioning ( self,  colorRange=( 0,.7 ) )

setHueByPartioning.

Colors each point's hue by the most likely cluster, and then it's value (intensity) is specified by the probability of membership to that particular cluster

  setHueByProbability 
setHueByProbability (
        self,
        cluster,
        colorRange=( 0,.7 ),
        )

setHueByProbability(self, cluster, colorRange(0,1)):

where cluster is the index of the probability tuple

  setProbabilityLabeling 
setProbabilityLabeling ( self,  probabilities )


Table of Contents

This document was automatically generated on Wed Aug 27 14:24:55 2003 by HappyDoc version 2.1