multi-line xvalues when making a heatmap with a matrix

I create a heatmap using a matrix. I would like for the xvalues labels to each be on two lines, not one long one that stretches out diagonally. Is this possible?
I am using the heatmap function in R2017a.

Réponses (1)

Benjamin Kraus
Benjamin Kraus le 26 Juil 2018

0 votes

The heatmap function currently doesn't allow multi-line x-value labels.

Catégories

En savoir plus sur Color and Styling dans Centre d'aide et File Exchange

Produits

Version

R2017a

Tags

Question posée :

HW
le 26 Juin 2018

Community Treasure Hunt

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

Start Hunting!

Translated by