+ 7
Get the Cartesian coordinate in python
I want to create a python program where I can move a little point, and depending where is the point, I want to get the Cartesian coordinate of the point, but... I'm not sure how to start something like that... anyone has any idea about how to program something like that or a little example?
5 Antworten
+ 17
use something like qgis/pyqgis
+ 9
find the distance between.
#1 the xcenter of the point and 0-origin of the x-axis
#2 the ycenter of the point and 0-origin of the y-axis
assuming your graph has no negative points.
then your coordinates will be
(distance X,distanceY).
scale it yourself
+ 4
Try turtle or tkinter canvas (both doesn't run on SL)
+ 1
thx to all! now I have a hint about how to start :)