How to change Variable names of corrplot
38 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Yaser Khojah
il 25 Set 2019
Commentato: Yaser Khojah
il 3 Ott 2019
I'm trying to change the variables names of a corrplot from the default one, but It is not working. Can you please help
VariableNames ={'G1','G4','G5','T1','T2','T5','ENPV'};
Matrix_cor = rand(20,7)
figure
corrplot((Matrix_cor, VariableNames);
0 Commenti
Risposta accettata
Abhilash Padma
il 30 Set 2019
In the corrplot function, you should pass the name-value pair. Here you are passing only value but not name. You should use:
corrplot(Matrix_cor, 'varNames', VariableNames);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Signal Generation and Preprocessing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!