Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I plot a number of different outputs onto the same graph?

Status
Not open for further replies.

AcesB

Bioengineer
Mar 20, 2009
1
GB
I have an m-file and it gives out various outputs when I change the conditions in the code. I have seen someone plot the different outputs onto the same graph using the same m-file but slightly changed each time. He did something like rename the parameter and type some plot commands into the command window eg...

plot (t/3600, A) ...

and then slightly changed the m-file, then

plot (t/3600, A2) ...

and plotted both resulting graphs on top of each other so they could be compared easily.

How do you do this. I'm having trouble with it.

I hope someone can help.

Alex
 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top