How to change value of axis using matrix to plot 3-D surface
1 回表示 (過去 30 日間)
古いコメントを表示
using surf(),X-axis and Y-axis are index of element in matrix-test(a,b)
I want to set axis as X=1-a/10,Y=3+b/4.
an simplified example:
test=[3 4 5;3 5 6;7 4 5];
surf(test)
0 件のコメント
採用された回答
Walter Roberson
2016 年 5 月 8 日
You can pass x and y values as the first two parameters of surf()
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!