Пример #1
0
 def __init__(self, parent=None, name="Scree Plot"):
     OWPlot.__init__(self, parent, name=name)
     self.cutoff_curve = CutoffCurve([0.0, 0.0], [0.0, 1.0],
             x_axis_key=owaxis.xBottom, y_axis_key=owaxis.yLeft)
     self.cutoff_curve.setVisible(False)
     self.cutoff_curve.set_style(OWCurve.Lines)
     self.add_custom_curve(self.cutoff_curve)
 def __init__(self, parent=None, name="Scree Plot"):
     OWPlot.__init__(self, parent, name=name)
     self.cutoff_curve = CutoffCurve([0.0, 0.0], [0.0, 1.0],
                                     x_axis_key=owaxis.xBottom,
                                     y_axis_key=owaxis.yLeft)
     self.cutoff_curve.setVisible(False)
     self.cutoff_curve.set_style(OWCurve.Lines)
     self.add_custom_curve(self.cutoff_curve)
Пример #3
0
 def __init__(self, parent=None, name=None):
     OWPlot.__init__(self, parent, name)
     self.use_animations = False
     self.animate_points = False
     self.antialias_points = True
     self.data = None
     self.mds = None
     self.PointSize = 5
     self.ColorAttr = 0
     self.SizeAttr = 0
     self.ShapeAttr = 0
     self.NameAttr = 0
     self.ShowStress = False
     self.differentWidths = True
     self.stressByTransparency = True
     self.stressBySize = False
     self.NumStressLines = 10
     self.proportionGraphed = 20
     self.ShowName = True
     # self.curveKeys=[]
     self.pointKeys = []
     self.points = []
     self.lines = []
     self.lineKeys = []
     self.distanceLineCurves = []
     self.colors = []
     self.sizes = []
     self.closestPairs = None
     self.shapeList = [
         OWPoint.Ellipse,
         OWPoint.Rect,
         OWPoint.Diamond,
         OWPoint.Triangle,
         OWPoint.DTriangle,
         OWPoint.UTriangle,
         OWPoint.LTriangle,
         OWPoint.RTriangle,
         OWPoint.Cross,
         OWPoint.XCross,
     ]
Пример #4
0
 def __init__(self, parent=None, name=None):
     OWPlot.__init__(self, parent, name)
     self.use_animations = False
     self.animate_points = False
     self.antialias_points = True
     self.data = None
     self.mds = None
     self.PointSize = 5
     self.ColorAttr = 0
     self.SizeAttr = 0
     self.ShapeAttr = 0
     self.NameAttr = 0
     self.ShowStress = False
     self.differentWidths = True
     self.stressByTransparency = True
     self.stressBySize = False
     self.NumStressLines = 10
     self.proportionGraphed = 20
     self.ShowName = True
     #self.curveKeys=[]
     self.pointKeys = []
     self.points = []
     self.lines = []
     self.lineKeys = []
     self.distanceLineCurves = []
     self.colors = []
     self.sizes = []
     self.closestPairs = None
     self.shapeList = [OWPoint.Ellipse,
                       OWPoint.Rect,
                       OWPoint.Diamond,
                       OWPoint.Triangle,
                       OWPoint.DTriangle ,
                       OWPoint.UTriangle,
                       OWPoint.LTriangle,
                       OWPoint.RTriangle,
                       OWPoint.Cross,
                       OWPoint.XCross ]