maximum points on the surface

4 ビュー (過去 30 日間)
Asliddin Komilov
Asliddin Komilov 2020 年 3 月 4 日
コメント済み: Asliddin Komilov 2020 年 3 月 7 日
On this beautiful plot I need a line that shows the maximum points
help me someone
thanks

採用された回答

darova
darova 2020 年 3 月 4 日
Here is my achievement
X = xlsread('testEffx.xlsx','x');
Y = xlsread('testEffx.xlsx','y');
Z = xlsread('testEffx.xlsx','z');
%%
[zm,im] = max(Z,[],2); % find max in each row (columns direction)
ix = sub2ind(size(Z),1:length(im),im'); % convert to index
surf(X,Y,Z)
hold on
plot3(X(im),Y,Z(ix),'.y')
hold off
axis vis3d
  3 件のコメント
darova
darova 2020 年 3 月 5 日
I used this program
Asliddin Komilov
Asliddin Komilov 2020 年 3 月 7 日
don't tell me you draw the line manually...))

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by