Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to compare two plots in Matlab program?

Status
Not open for further replies.

asha19800

Banned
Joined
Dec 22, 2007
Messages
24
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
0
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
 

Re: Plot comparing

run the first matlab code. one figure will open with the first graph. write hold on in the matlab command window and run the second code. the two graphs will be displayed in the same figure.

type help hold in the matlab command window for further information. also see plot, and legend function.
 

    asha19800

    Points: 2
    Helpful Answer Positive Rating
Re: Plot comparing

Thank you very much imranshoaib
 

Re: Plot comparing

Hi,

I have one program which gives me graph after execuation of 4 days and I have another program which gives me another graph after 4 days.

I have two graph from tow programs,they both have same x and y scaling used but they have been generated by execuating same prgram with different parameter but with same x and y-axis scaling..

How can I load both of the graphs in a single graph,I have saved both of the graph by

a.fig
b.fig


Thankyou
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top