Ejemplo n.º 1
0
 def drawPoint(self, radius, dataPoint):
     ac.glColor3f(0.2, 1.0, 0.2)
     self.drawCircle(radius, dataPoint)
     ac.glColor3f(1.0, 1.0, 1.0)
     self.drawCircumference(radius, dataPoint)
 def drawPoint(self, radius, dataPoint):
     ac.glColor3f(0.2, 1.0, 0.2)
     self.drawCircle(radius, dataPoint)
     ac.glColor3f(1.0, 1.0, 1.0)
     self.drawCircumference(radius, dataPoint)
Ejemplo n.º 3
0
 def drawScatterPlot(self, colourFades, dataPoints):
     for dataPoint, colour in zip(dataPoints, colourFades):
         ac.glColor4f(*colour)
         self.drawCircle(self.scatterSize, dataPoint)
     ac.glColor3f(1.0, 1.0, 1.0)
 def drawScatterPlot(self, colourFades, dataPoints):
     for dataPoint, colour in zip(dataPoints, colourFades):
         ac.glColor4f(*colour)
         self.drawCircle(self.scatterSize, dataPoint)
     ac.glColor3f(1.0, 1.0, 1.0)