Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if self.counter != 0:
- self.xs.append(event.xdata)
- xglobal= event.xdata
- print("Coordenada X:", xglobal)
- self.ys.append(event.ydata)
- yglobal = event.ydata
- print("Coordenada Y:", yglobal)
- array = [xglobal, yglobal]
- i = 0;
- polyarray = array;
- print ("Array:", polyarray)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement