gonum / plot

A repository for plotting and visualizing data
BSD 3-Clause "New" or "Revised" License
2.73k stars 202 forks source link

Set {X,Y } Min,Max,Image distortion , Is there a way like python's "axes.set_aspect('equal')" #737

Closed BianZLL closed 3 years ago

BianZLL commented 3 years ago

image  set after: image

sbinet commented 3 years ago

There isn't. But as gonum/plot requires you to provide the 'image.Image' (from which you can easily retrieve the dimensions), it seems easy to implement "user side".

sbinet commented 3 years ago

(closing. feel free to reopen if you feel this wasn't properly addressed)