plotly / plotly/plotly.js

3d camera center in data coordinates

Offen
#7,219 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature P3
Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
28

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, Issue #5524 und das verlinkte CodePen-Beispiel zu prüfen, um das Verhalten der 3D-Kamera zu reproduzieren. Verfolge anhand der Reproduktion die bestehende 3D-Kameraimplementierung; fertig ist die Aufgabe, wenn die Rotation auf einen angegebenen Punkt in den Datenkoordinaten zentriert werden kann, ohne dass der Plot verschwindet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
data-visualization
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.