How can I plot a surface (plate) from X,Y,Z data that looks like this:

2 ビュー (過去 30 日間)
j gjemso
j gjemso 2016 年 11 月 23 日
編集済み: j gjemso 2017 年 2 月 10 日
x1 x2 x3 x4 x5...x(n)
y1 z1 z2 z3 z4 z5...z(n)
y2 z6 z7 z8 z9 z10..z(n)
y3 ... ... ... ...
y4 ... .. ... ... ..
y5 ... ... ... ... ...
y(m) ... ... ... .. etc

回答 (1 件)

Star Strider
Star Strider 2016 年 11 月 23 日
The ‘X’ and ‘Y’ matrices (and you will need to define them as matrices) you can create with the meshgrid function. Then use surf or mesh (and their friends surfc and meshc) or contour and its friends to create the sort of 3D plot you want.

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by