You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there was a way to ensure the aspect ratio is preserved when drawing graphs where it's important the x and y scales match. For example, when drawing circular arcs, it currently stretches/squishes it around:
The combination of a hardcoded aspect ratio of the plot window/box, and no way to auto-set the plot bounds based on that aspect ratio to ensure a 1:1 ratio, makes it really hard to guess what values you need for the bounds in order to make the x and y scale 1:1
There are many ways to solve this, but the easiest one is probably to provide an alternate bounds syntax where you specify the x and y center, as well as the height of the bounds, and then the width is auto-calculated to ensure the aspect ratio is matched so that the x and y plot scales are 1:1
For example, with a center of x=0, y=0 and a height of 2, it would auto-calculate the width like this:
Any related problems?
No response
Additional context?
No response
The text was updated successfully, but these errors were encountered:
What's your feature?
It would be nice if there was a way to ensure the aspect ratio is preserved when drawing graphs where it's important the x and y scales match. For example, when drawing circular arcs, it currently stretches/squishes it around:
The combination of a hardcoded aspect ratio of the plot window/box, and no way to auto-set the plot bounds based on that aspect ratio to ensure a 1:1 ratio, makes it really hard to guess what values you need for the bounds in order to make the x and y scale 1:1
There are many ways to solve this, but the easiest one is probably to provide an alternate bounds syntax where you specify the x and y center, as well as the height of the bounds, and then the width is auto-calculated to ensure the aspect ratio is matched so that the x and y plot scales are 1:1
For example, with a center of x=0, y=0 and a height of 2, it would auto-calculate the width like this:
Any related problems?
No response
Additional context?
No response
The text was updated successfully, but these errors were encountered: