How do I plot 3-D random data with surf?
2 ビュー (過去 30 日間)
古いコメントを表示
Hello, I would like to plot the following (x,y,z) points and connect them with a 3-D spline surface. (BTW i used surf despite that I dont understand meshgrid but the result was awfull)
x=rand(10,1)*10; y=rand(10,1)*10; z=rand(10,1)*2; Thank you in advance for yor time.
0 件のコメント
回答 (1 件)
Image Analyst
2016 年 5 月 28 日
You need to use scatteredInterpolant() to turn your data into a regular grid/image first. See the help for it.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!