memecs
memecs

Reputation: 7564

Matplotlib - Create grid of subplot with 1:1 axis scale

Is there any way to create a plot like the one in figure below, having an axis scale of 1:1. By 1:1 I mean that if two ticks with values 100-200 have a distance on screen of 2cm on the x axis, it should be the same on the y axis. Instead as you can see in the figure, ticks on the x axis are much larger. plot

Upvotes: 0

Views: 713

Answers (1)

tacaswell
tacaswell

Reputation: 87356

ax.set_aspect('equal') after the fact for each axis ax = fig.add_subplot(111, aspect='equal') when you generate the axes. example/doc

Upvotes: 3

Related Questions