
Contour plots not showing
5 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I tried to plot contour plots for temperature, strain, and individual frame but only contour plots for individual frame is showing up. It works when I run it separately. Is there any error with my code for temperature and strain?
Thank you.
0 件のコメント
採用された回答
KSSV
2018 年 11 月 16 日
I suggest you to use the function tricontour from the file exchange. As your data is scattered data, this is the suggested solution. Download the abive function and follow the below code:
[num,txt,raw] = xlsread('298k_400ms_24e-9_frame 5.xlsx') ;
X = num(:,5) ;
Y = num(:,6) ;
P = num(:,8) ;
Tk = num(:,9) ;
Tc = num(:,10) ;
% plot contours
tricontour(tri,X,Y,P,50)

1 件のコメント
Wthee
2020 年 10 月 12 日
And how does one deal with the output file, C, if you choose to export it? The patches seem to complicate this process.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!