Want to Plot a multi line graph in Matlab
이전 댓글 표시
I want to plot a graph like this. How can I implement it in Matlab ?
채택된 답변
추가 답변 (1개)
thiyagarajan n
2022년 10월 8일
편집: thiyagarajan n
2022년 10월 8일
0 개 추천
x = [......]; % use values of observations
y1 = [.....]; % use values of observations or form expression
y2 = [.....]; % use values of observations or form expression
y3 = [.....]; % use values of observations or form expression
figure(1);
plot(x, y1, x, y2, x, y3);
xlabel('Frequency Slots --->');
ylabel('Spectral Efficiency');
legend('Average User rate','Fair Spectrum Sharing','No Spectrum Sharing');
카테고리
도움말 센터 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

