Effacer les filtres
Effacer les filtres

Which command i need for the following 3D diagram?

1 vue (au cours des 30 derniers jours)
Philipp Mueller
Philipp Mueller le 30 Sep 2016
Réponse apportée : KSSV le 30 Sep 2016
Hi everybody,
Which command i need for this output ->
Here is my code:
%Input_Matrix = textread('Rainflow_Input1.txt')
Input_Matrix = textread('Input1.txt')
[zeilen,spalten]=size(Input_Matrix)
x = Input_Matrix(:,1)
y = Input_Matrix(:,2)
z = Input_Matrix(:,3)
colorbar('location','Manual', 'position', [0.93 0.1 0.02 0.81]);
az = 0;
el = 90;
view(az, el);
%scatter3(x,y,z,'filled')%Problem i dont know to make it filled
view(0,90)% view from above !!!http://de.mathworks.com/help/matlab/ref/view.html
a = 30;%markersize
scatter3(x, y, z, a, z, 'filled');
hold on
view(0, 90)
%value = find(max(z)) ;
%hold on
%plot3(x(idx),y(idx),z(idx),'*r')
[m,ind]=max(z);
scatter3(x(ind), y(ind), z(ind),'*r');
colorbar
datacursormode on
Data Input:

Réponse acceptée

KSSV
KSSV le 30 Sep 2016
doc bar3...

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by