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!