plotly / plotly_matlab

Plotly Graphing Library for MATLAB®
https://plot.ly/matlab/
MIT License
376 stars 165 forks source link

Plotly's hiccups on MATLAB dendrogram plots #41

Open jackparmer opened 9 years ago

jackparmer commented 9 years ago

These fellows: http://www.mathworks.com/help/stats/dendrogram.html

Traceback:

screen shot 2015-04-30 at 9 08 17 pm

BRONSOLO commented 9 years ago

The "leaf order" structure of the x data is preventing the parser from being able to strip these plots. Support for this would be awesome - :100: - maybe all we need here is a workaround using annotations for the x labels.

jackparmer commented 9 years ago

The Python wrapper for dendrograms uses tickvals and ticktext: https://plot.ly/python/axes/#enumerated-ticks-with-tickvals-and-ticktext

Here's the Python dendrogram wrapper that's been circulating: http://nbviewer.ipython.org/gist/OxanaSachenkova/a54c1208205459d289bf