Ask Your Question
1

scale of the axis

asked 2021-11-30 01:02:37 +0200

ErWinz gravatar image

updated 2021-11-30 01:10:59 +0200

hi

i can not understand why my two graphics :

link text

do not have the same scales, whereas the code is quite exactly the same

as if a plot would automatically fit something

i believe that this correct the pb :

aspect_ratio=1

but just wanted to understand the behaviour

Vinz

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-11-30 10:15:22 +0200

eric_g gravatar image

It's because circle() in the first plot enforces aspect_ratio=1.0, as you can see by taking a look at the source code via circle??:

@options(alpha=1, fill=False, thickness=1, edgecolor='blue', facecolor='blue', 
         linestyle='solid', zorder=5, legend_label=None, legend_color=None, 
         clip=True, aspect_ratio=1.0)
def circle(center, radius, **options):
...
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-11-30 01:02:37 +0200

Seen: 121 times

Last updated: Nov 30 '21