PM
To: tomislav.ma...@gmx.com, matplotlib-users@lists.sourceforge.net
Subject: RE: [Matplotlib-users] axis aspect ratio
Give this a shot:
import matplotlib.pyplot as plt
fig = pl.figure(figsize=(4,4))
ax = fig.add_sublot(1,1,1) # tweak as needed
# [plot your data]
ax.set_aspect(‘equal’)
...@gmx.com [mailto:tomislav.ma...@gmx.com]
Sent: Monday, March 15, 2010 9:33 AM
To: matplotlib-users@lists.sourceforge.net
Subject: [Matplotlib-users] axis aspect ratio
Hello everyone,
I'm using matplotlib for plotting data results from numerical simulations that
involve a lot of geom
Hello everyone,
I'm using matplotlib for plotting data results from numerical simulations that
involve a lot of geometric calculations.
I did read the tutorial, but I haven't been able to figure out the proper way
to set the axis aspect ratio to "1" when
numerical data is plotted.
Here is