I want to draw lines on a SQUARE graph.
The x-axis and y-axis must be the same.
eg. x is between 0 and 10 and 10 cm on the screen. y should also vary from 0 to 10 and should also be 10 cm.
The SQUARE form must be supported even if I am dealing with window size.
My graph is currently being scaled along with the window size.
How can i achieve this?
UPDATE:
I tried the following, but that did not work.
plt.xlim(-3, 3) plt.ylim(-3, 3) plt.axis('equal')
python matplotlib
Sibbs Gambling Aug 01 '13 at 9:58 am
source share