Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Mark the order of locations using plot3

1 回表示 (過去 30 日間)
mec123
mec123 2016 年 8 月 23 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi,
i made the following Script:
A=[10 20 30 40]
B=[40 50 60]'
M=[1 4 3 74; 5 56 17 38; 90 1 11 49]
N=[11 62 13 14; 15 36 17 18; 15 20 31 2]
O=[82 32 4 61; 5 20 37 71; 39 69 36 22]
figure;
hold;
grid on;
xlabel('M');
ylabel('N');
zlabel('O');
for i = 1:length(B)
plot3(M(i,:), N(i,:), O(i,:),'o','DisplayName',sprintf('B=%i',B(i)));
view(40,35)
end
legend('show');
everything is fine,i can distinguish the B-values of each respective entry by different colors and a legend. But how can i mark the A-values of each location? The first blue dot has to be additionally related to A1, the second blue dot to A2 and so on... Clicking the dots in the figure only displays the values M,N and O. Is there a way to add an A to identify the line? I hope i could express myself sufficiently, please let me know if you need further informations...

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by