how to plot a contour plot with a csv file.
4 ビュー (過去 30 日間)
古いコメントを表示
I have an example set of data to, an excel sheet with the data being the measurements at various positions for an electric field. I am completely new to Matlab and have no prior experience. Some quick searches on my end show how to plot a contour plot, but not how to handle this csv file and how to contour plot it.
0 件のコメント
回答 (1 件)
Star Strider
2021 年 9 月 8 日
If they are random x and y values with associated z values (or alternatively grided versions of that), it would be straightforward to use griddata or scatteredInterpolant to create the matrices to use with contour. For gridded data, just use reshape on each column to create the matrices.
.
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!