Need help with Contour plot
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Nethravathi S
le 13 Juin 2022
Commenté : Nethravathi S
le 13 Juin 2022
Hi,
I have a matrix which is given at the end.
I need to plot contour plot for this like: kindly give inputs

PV A B C D
1 0.975744 0.294546 0.192422 0.155833
2 0.956922 0.172609 0.112765 0.089115
3 0.950648 0.131963 0.086212 0.066875
4 0.947511 0.11164 0.072936 0.055755
5 0.945629 0.099447 0.06497 0.049083
6 0.944374 0.091318 0.05966 0.044635
7 0.943478 0.085511 0.055867 0.041458
8 0.942805 0.081156 0.053022 0.039075
9 0.942283 0.077769 0.050809 0.037222
10 0.941864 0.075059 0.049039 0.035739
0 commentaires
Réponse acceptée
Chunru
le 13 Juin 2022
x = [1 0.975744 0.294546 0.192422 0.155833
2 0.956922 0.172609 0.112765 0.089115
3 0.950648 0.131963 0.086212 0.066875
4 0.947511 0.11164 0.072936 0.055755
5 0.945629 0.099447 0.06497 0.049083
6 0.944374 0.091318 0.05966 0.044635
7 0.943478 0.085511 0.055867 0.041458
8 0.942805 0.081156 0.053022 0.039075
9 0.942283 0.077769 0.050809 0.037222
10 0.941864 0.075059 0.049039 0.035739 ];
x = x(:, 2:end);
contourf(x', [0:.1:1], 'ShowText', 'on')
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Contour 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!
