필터 지우기
필터 지우기

How to change value of axis using matrix to plot 3-D surface

조회 수: 1 (최근 30일)
Joyce Taylor
Joyce Taylor 2016년 5월 8일
답변: Walter Roberson 2016년 5월 8일
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)

채택된 답변

Walter Roberson
Walter Roberson 2016년 5월 8일
You can pass x and y values as the first two parameters of surf()

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by