I would like to have an x-axis and y-axis where their 0's start at the center of the frame. Also, the increment and decrement of both rulers should be by 30. I have a sample drawing of this as an attachment. How do I translate this in code?
Thank you!
EDIT: I managed to get this working by providing the limits to the Fit() function, like so: Fit(-180.0, 180.0, -90.0, 90.0);, now I am still unsure about the gap/increment/decrement -- it seems like it is calculated based on the window size.
Hello,
I would like to have an x-axis and y-axis where their 0's start at the center of the frame. Also, the increment and decrement of both rulers should be by 30. I have a sample drawing of this as an attachment. How do I translate this in code?
Thank you!
EDIT: I managed to get this working by providing the limits to the Fit() function, like so: Fit(-180.0, 180.0, -90.0, 90.0);, now I am still unsure about the gap/increment/decrement -- it seems like it is calculated based on the window size.
Last edit: Hristijan 2021-06-15