plotly / plotly/plotly_matlab

waterfall() not working correctly

Offen
#268 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@gilbertogalvis arbeitet bereits daran.

Seit 16.10.2021.

Vorherrschende Sprache
MATLAB
Sterne
413
Forks
166
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When using waterfall() to create a waterfall plot, which is a mesh plot with a partial curtain along the y dimension, a very different plot is generated. The generated plot isn't filled, which makes it very hard to understand.

[X,Y] = meshgrid(-5:.5:5);
Z = Y.*sin(X) - X.*cos(Y);
waterfall(X,Y,Z)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/823/#/) plots:
Captura de Pantalla 2021-08-02 a la(s) 12 03 47 p  m
Captura de Pantalla 2021-08-02 a la(s) 12 03 56 p  m

Examples on using waterfall() can be found on:
https://www.mathworks.com/help/matlab/ref/waterfall.html#responsive_offcanvas

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

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.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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