필터 지우기
필터 지우기

3D Mesh Graph

조회 수: 2 (최근 30일)
parnal patni
parnal patni 2018년 11월 30일
댓글: parnal patni 2018년 12월 4일
Hello,
I have a table of X axis as cloumns and Y axis are rows and the cell values are Z axis, How can I plot a graph .
How to provide Z axis data in matlab ?
Below attached is my table of contents
  댓글 수: 6
Mark Sherstan
Mark Sherstan 2018년 11월 30일
Please provide the actual data and not just an image we need to type in manually.
parnal patni
parnal patni 2018년 12월 3일

댓글을 달려면 로그인하십시오.

채택된 답변

KSSV
KSSV 2018년 12월 3일
편집: KSSV 2018년 12월 3일
[T,txt,raw] = xlsread('Table_for3DGraph.xlsx') ;
x = T(1,2:end) ;
y = T(2:end,1) ;
Z = T(2:end,2:end) ;
[X,Y] = meshgrid(x,y) ;
surf(X,Y,Z)
  댓글 수: 1
parnal patni
parnal patni 2018년 12월 4일
How to put legend depending on the colour shown in the graph?
Foe Example I need to put the colour and what it represents. What I need is not a colour map but instead put that colour shown in the range of number in colourmap separately.

댓글을 달려면 로그인하십시오.

추가 답변 (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