how to create contour
古いコメントを表示
Hello; Can anyone help me create contour map for attached file? Thank you,
Best, Muhsin A
採用された回答
その他の回答 (1 件)
Chad Greene
2017 年 1 月 19 日
Are you sure you mean you contour? The contour.csv file only contains x and y data--if you want to plot that x and y data as three separate lines you can do so like this:
D = importdata('contour.csv');
x1 = D.data(:,1);
y1 = D.data(:,2);
x2 = D.data(:,4);
y2 = D.data(:,5);
x3 = D.data(:,7);
y3 = D.data(:,8);
plot(x1,y1,'red')
hold on
plot(x2,y2,'blue')
plot(x3,y3,'green')
What's missing from the contour.csv file is any Z data. Columns 3, 6, and 9 are empty.
3 件のコメント
Muhsin ACAR
2017 年 1 月 19 日
Walter Roberson
2017 年 1 月 19 日
Do you have an example of what the result might look like?
Muhsin ACAR
2017 年 1 月 19 日
カテゴリ
ヘルプ センター および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!