필터 지우기
필터 지우기

How to compare two plots in Matlab program? I want to compare two graphs: I have two matlab program which give me two separate graphs. I want to have the result of those two programs on the same graph,I mean two separate programs should give result

조회 수: 52 (최근 30일)
How to compare two plots in Matlab program? I want to compare two graphs:
I have two matlab program which give me two separate graphs.
I want to have the result of those two programs on the same graph,I mean two separate programs should give result in the same graph.
How can I do that. e.g graphs show the BER v/s EbN0 and EbN0 is same in both of the programs.
please reply
  댓글 수: 4
Nikhil Sapre
Nikhil Sapre 2023년 1월 19일
If you are using plot command, turn hold to 'on' before plotting the second one. This will keep the first plot and add the second plot in the same figure.
Sylvain
Sylvain 2023년 1월 19일
A manual method
Graph 1: click left on the desired curve, then click right, copy
Graph2: click left in the axes, the click right and copy
note, you can change the color of the lines before copying/paste

댓글을 달려면 로그인하십시오.

답변 (1개)

Ganesh Gudipati
Ganesh Gudipati 2023년 2월 7일
Hello,
I understand that you wanted to plot two different graphs from different programs into a single plot.
Yes, you can do it. Please refer to the below MATLAB Answer.
Hope this resolves your issue.
Thanks,
Ganesh Gudipati

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by