how to add legends?

 채택된 답변

M
M 2012년 3월 29일

1 개 추천

You can also use the following:
hold on %after the first plot to continue plotting on the same figure
legend on
% or legend('plot1','plot2','plot3');

추가 답변 (1개)

Sean de Wolski
Sean de Wolski 2012년 3월 29일

0 개 추천

doc subplot
doc legend

카테고리

태그

질문:

2012년 3월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by