Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

MATLAB - plot 2 figures

Status
Not open for further replies.

fglass

Materials
Joined
Jul 20, 2006
Messages
30
Location
MY
I am trying to plot 2 separate graphs in MATLAB. Does anyone know the way to program it? Thanks
 
The command "subplot 121" (and subplot 122) will split the plot window into two.
Then there's "hold on" which will superimpose the plots.
Then there's "figure" which will open a new figure window.

Which do you want?

-
Syl.
 
Thanks SylvestreW. It's "figure". I have figured out my problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top