Unrecognized property 'Title' in heatmap function
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Martin Wukovnig
le 22 Juil 2021
Commenté : Martin Wukovnig
le 22 Juil 2021
I'm trying to run the following code in an empty workspace, which is a 1:1 copy from the Matlab documentation for the heatmap function:
h = heatmap([1 3 5; 2 4 6]);
h.Title = 'My Heatmap Title';
When running the code I get the error:
Unrecognized property 'Title' for class 'matlab.graphics.primitive.Image'.
Why and how can I circumvent this? I have quite a large number of large scripts using the inbuilt heatmap function to create specific heatmaps and to plot them via some other scripts. It used to work just some months ago and now it doesn't because of this error, and I can't explain it (and I also don't want to change all my old scripts if it can be easily circumvented).
I'd be really thankful for any input!
0 commentaires
Réponse acceptée
Walter Roberson
le 22 Juil 2021
which -all heatmap
I suspect that you are using a third party heatmap function
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Distribution Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!