plotting 3rd variable in both colour and surface

Hi,
I'm trying to plot a matrix with both colour and height on a 3D graph, effectively imagesc but with height as well as colour for the non-locaqtion variable.
Can anyone recommend a function to do this?
Also, this is being plotted in app designer FYI.
cheers

4 件のコメント

KSSV
KSSV 2018 年 12 月 13 日
Why not surf ?
Ralph ellison
Ralph ellison 2018 年 12 月 13 日
whenever I try to use surf it just produces a 2D figure. I am pre specifying "figure", is there a 3D version of this?
madhan ravi
madhan ravi 2018 年 12 月 13 日
so upload your datas to experiment
madhan ravi
madhan ravi 2018 年 12 月 13 日
編集済み: madhan ravi 2018 年 12 月 13 日
Man comeon! , what are the datas? how can we run your code??

サインインしてコメントする。

 採用された回答

KSSV
KSSV 2018 年 12 月 13 日

0 投票

[X,Y,Z] = peaks(100) ;
surf(X,Y,Z,Z)

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2018 年 12 月 13 日

回答済み:

2018 年 12 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by