Unrecognized property 'Title' in heatmap function
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Martin Wukovnig
am 22 Jul. 2021
Kommentiert: Martin Wukovnig
am 22 Jul. 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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 22 Jul. 2021
which -all heatmap
I suspect that you are using a third party heatmap function
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!