X Tutup
Skip to content

Relative lengths in 3d quiver plots #7448

@fuglede

Description

@fuglede

First of all, thank you to all matplotlib contributors for making what's one of my most used Python libraries.

When wanting to plot a particular vector field on a given surface, I came across Axes3D.quiver which does a good job at exactly that. However, one thing that surprised me is that the scales of the plotted vectors are not based on what is input; only their scale is. The optional argument length can be used to modify the lengths of all vectors at once, but not for individual ones.

I ended up using the workaround in this StackOverflow answer, but that seems less than ideal.

In pictures; desired behavior (vectors at poles are smaller than those at the equator):

desired

Actual behavior (all vectors have the same size):

actual

Version information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup