plotly / plotly/plotly.js

3d camera center in data coordinates

Open
#7,219 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

Hi.

Same issue that the #5524 : https://github.com/plotly/plotly.js/issues/5524

It is impossible to fix the rotation point to a specific point to analyse data around this point.

Example : https://codepen.io/someuser12/pen/rNXLPRJ

The center is located at 0,0,0 in the layout (center of one of the sphere) but the rotation point is located at the middle of the graph at 500,0,0 (why ?)

If i change the center with the different button (for exemple fix it at x = 1000), the plot disappear to infinity and beyond.

Would be nice to have this feature to be able to navigate around a 3d system and analyse what happened.

In my case, we study (and plot) birds trajectories around wind turbine. We need to rotate around a specific point of the bird trajectory.

Regards

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing issue #5524 and the linked CodePen example to reproduce the 3D camera behavior. Trace the existing 3D camera implementation from the reproduction; done means rotation can be centered on a specified data-coordinate point without the plot disappearing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.