How to change the way it is being plotted?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have JSR vs MSE data and my plot is coming in another way than in base paper. please help with that.
Here is the data,
JSRdB=40:5:60;
MSE= [0.9592 1.1141 1.6038 3.1525 8.0497]
plot(JSRdB,MSE)
![base paper.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/261196/base%20paper.png)
![jsrvsmse.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/261197/jsrvsmse.png)
I want the graph to be plotted like the first one.
댓글 수: 5
KALYAN ACHARJYA
2020년 1월 11일
편집: KALYAN ACHARJYA
2020년 1월 11일
@Silva We have no idea about the technical background related those data you have got, it would be better to get exact reason, if you directly ask(mail) to authors. Please note on MSE scale range also.
채택된 답변
Meg Noah
2020년 1월 11일
Possible solution (journal paper values just eyeballed not digitized)
JSRdB=40:5:60;
MSESilva = [0.9592 1.1141 1.6038 3.1525 8.0497];
DWCTHard = [5.1 10 14.5 16 17];
DWCTSoft = [5.1 9.9 14.4 16 17.2];
WPCTADPSoft = [ 2 2 2 2 2];
WPCTADPHard = [ 2 2 2 2 2];
figure(); ylabel('MSE'); xlabel('JSR (dB)'); hold on;
plot(JSRdB,WPCTADPSoft,'-ok','DisplayName','WPCT-ADP-Soft Thresh');
plot(JSRdB,WPCTADPHard,'-sk','DisplayName','WPCT-ADP-Hard Thresh');
plot(JSRdB,DWCTSoft,'-^','color',[0.5 0.5 0.5],'DisplayName','DWCT-Soft Thresh');
plot(JSRdB,DWCTHard,'-dk','DisplayName','DWCT-Hard Thresh');
plot(JSRdB,MSESilva,'-or','DisplayName','Our Data which is way better');
xlim([40 60]);
ylim([-10 45]);
grid on;
box on;
legend('location','northeast');
![BetterDataPlotter.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/261251/BetterDataPlotter.png)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Waveform Design and Signal Synthesis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!