Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

3d plots with aspect='equal' #1077

Closed
Closed
Assignees
WeatherGod
Milestone
@akhmerov

Description

@akhmerov

aspect='equal' argument is completely misused by axes3D.
To verify:

import matplotlib.pyplot as pltfrom mpl_toolkits import mplot3dfig = plt.figure()ax = fig.add_subplot((111), aspect='equal', projection='3d')ax.scatter((1, 2), (1, 1.2), (1, 2))
  • The figure is rendered with all axes scaled to the data scale, thus ignoring the aspect setting.
  • If one tries to rotate the figure, using GUI, it is rescaled to fix into a very uneven rectangle, presumably calculated from x-scale vs y-scale, and hence with aspect ratio 1:5.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp