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’)
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’)
http://matplotlib.sourceforge.net/api/axes_api.html?highlight=set_aspect#matplotlib.axes.Axes.set_aspect
From: tomislav_ma...@gm