############################################### # File: Xiang/pixel0.py # Plot pixels.. win.plot(x,y,color) from graphics import * def main(): win = GraphWin( "The coordinates", 500, 500 ) win.setCoords( 0,0, 400, 400 ) # change Center of axes m=1.1 for x in range(100): win.plot(x,m*x) message = Text( Point(100,20), "Click anywhere to stop!" ) message.draw( win ) win.getMouse() win.close() main()