I'm generating a contour plot in matplotlib based on output from an FEM program which gives nodal coordinates and their corresponding state parameters as follows: x = [x1,x2,x3,...
Solution 1:
You probably want to use
plt.gca().set_aspect("equal")
instead of plt.axis('equal'). The result would look like
You may then also play with the figure size and the margins, e.g.
Post a Comment for "Setting Axis Scale In Matplotlib Contour Plot"