필터 지우기
필터 지우기

Legend Error in Matlab 2014a

조회 수: 2 (최근 30일)
Ali Baig
Ali Baig 2018년 3월 27일

I am using Matlab 2014a on my school's PC. When I run the following code

 figure
subplot(2,1,1);
plot(1:N, E1,'--', 1:N, E2,':'),  title('Errors'), xlabel('\rightarrow Node Number'),ylabel('\rightarrow Error'), grid on, legend('Error in First Case', 'Error in Second Case')
subplot(2,1,2)
plot(1:N, E1P,'--', 1:N, E2P,'c*'),  title('Percentage Errors'), xlabel('\rightarrow Node Number'),ylabel('\rightarrow Percentage Error'), grid on, legend('Percentage Error in First Case', 'Percentage Error in Second Case')

Is this a known issue? or am I making a mistake here?

Thank you.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by