Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[ENH]: mplot3d mouse rotation style  #28408

Closed
@MischaMegens2

Description

@MischaMegens2

Problem

PR #28290 introduced more natural 3D rotation with the mouse. It uses a variation on Ken Shoemake's Arcball (it doesn't spin at double the mouse speed); however, this variation spoils a nice feature of the original Arcball (as Scott Shambaugh pointed out): if you move the mouse back the original point on the screen, this would return the view to the original view.

It would be desirable to be able to choose what kind of mouse rotation style one wants (Ken Shoemake's original Arcball, or the not-the-double-speed variation of the PR, or Holroyd's arcball, or a Trackball, or indeed the original matplotlib style which does not control roll, much like in matlab).

Proposed solution

Make the mouse rotation style selectable using rcParams. Perhaps axes3d.mouserotation ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions