]> rtime.felk.cvut.cz Git - hubacji1/path-to-traj.git/commitdiff
Fix min x, y of plot script
authorJiri Vlasak <jiri.vlasak.2@cvut.cz>
Sun, 19 Mar 2023 22:09:09 +0000 (23:09 +0100)
committerJiri Vlasak <jiri.vlasak.2@cvut.cz>
Sun, 19 Mar 2023 22:09:09 +0000 (23:09 +0100)
plot.py

diff --git a/plot.py b/plot.py
index 9d85549f3dad06bfb844763bf5c4d143b0ad49ad..95906e00dfb00bd808bfe77e71e9078303c19add 100755 (executable)
--- a/plot.py
+++ b/plot.py
@@ -331,8 +331,8 @@ if __name__ == "__main__":
                 if n[1] > MAXY:
                     MAXY = n[1]
     print("w: {}, h: {}".format(abs(MAXX - MINX), abs(MAXY - MINY)))
-    #MINY = -25
-    #MINX = -10
+    MINY = 0
+    MINX = 0
     c1 = plt.Circle(
         (-744239.7727016528 - MINX, -1044308.987006895 - MINY),
         4.8677125017335845,