Mark the order of locations using plot3
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!