From: <jam...@fd...> - 2007-01-22 04:59:56
|
I use the next technique: Examples: #update plot population for dot in self.clgraph.dots: dot.visible=False self.clgraph.dots=[] del self.clgraph.dots del self.clgraph self.clgraph = gdots(gdisplay=self.clwindow) for cl in self.Population: col = color.white if cl.Relevance>0.0: col = color.red self.clgraph.plot(pos=cl.state,color=col) self.Gtrajectory.gcurve.visible = False del self.Gtrajectory self.Gtrajectory = gcurve(gdisplay=self.clwindow,color=color.yellow) Hope this helps. Kind regards... ============================================ Jose Antonio Martin H. Departamento de Sistemas Informáticos y Computación Facultad de Informática Universidad Complutense de Madrid Ciudad universitaria, 28040 Madrid ============================================ ----- Original Message ----- From: "Poul Riis" <Pou...@sk...> To: <vis...@li...> Sent: Sunday, January 21, 2007 8:50 PM Subject: [Visualpython-users] Clear points > How can I clear points, lines and even horizontal bars in a graph window > before redrawing? > > Yours, > Poul Riis > > -------------------------------------------------------------------------------- > > > ########################################### > Denne meddelelse med evt. vedlæg er scannet af SkoleKom ved hjælp af > F-Secure virusscanner. > > For yderligere information, > http://forside.skolekom.dk/indhold/punkt1/viruspolitik > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > -------------------------------------------------------------------------------- > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |