Tuesday, March 14, 2017

[Solved][Matlab]cannot print labeled clustergram to figures

When I was exporting the clustergram to figure, I got a blank image and saw these error codes:

Index exceeds matrix dimensions.

Error in clustergram/plot (line 82)
                    obj.DendroRowLineColor(obj.RowGroups, :),...



The solution:

1. File -> Export Setup...
2. Rendering -> make sure Custom color is checked and color is 'w' -> Apply to Figure
3. Export and save

No comments:

Post a Comment