3D Mesh Graph

1 回表示 (過去 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 Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by