Reputation: 157
I want to use drawRect( [0 0 60 60] ) to draw a square.
But the step size of x- and y-axis change when I resize the window:
And both of them don't "look like" square.
So, is there any method to set the x- and y-axis step width consistent? No matter how I resize the window?
Here is the result using @Dan's solution: axis( ..., "equal" )
Upvotes: 2
Views: 134