Change X-axis with related data

I'm plotting a cluster using dendrogram functions where the axis is not represented sequentially. I want to change the numbers by other variables when I try to change using set(gca, 'XTickLabel',......) it's printing the data I'm providing by this function sequentially but it's wrong while the x-axis is not sequence cause of the cluster distance.
Any idea how to fix it

1 Comment

dpb
dpb on 23 Feb 2015
Edited: dpb on 24 Feb 2015
Not precisely w/o a more concrete example of what your data are and what you're trying to accomplish...

Sign in to comment.

Answers (0)

Asked:

on 23 Feb 2015

Edited:

dpb
on 24 Feb 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!