Need help with Contour plot

1 次查看(过去 30 天)
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

采纳的回答

Chunru
Chunru 2022-6-13
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')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by