0
내 친구는 많은 데이터를 처리하고 다양한 플롯을 계획하는 스크립트를 만들었지 만 스크립트를 실행할 때 그래프는 범례에 따라 다른 색상을 가지며 내가 할 때 모든 그래프는 검은 색 ~ 붉은 색! (그림 참조) 다른 점은 무엇이며 왜 그래프를 다른 색상으로 가져 옵니까? 색상Matlab : 컬러 졸업없이 플롯하는 방법은 무엇입니까?
2D 플롯 그래프를 졸업 -
figure
hold on
plot(sentar_7.created_at, sentar_7.acc_diff, '-');
plot(sentar_7.created_at, sentar_7.stand_toggle, '-');
plot(sentar_7.created_at, sentar_7.state, '-');
title('Sentar 7 acc')
xlabel('tid')
ylabel('dist [cm]')
legend('acc diff','stand toggle', 'state')
hold off
고마워요. :) 괜찮 았는데 .. –