how to assign new axis for a graph

1 view (last 30 days)
Borhan
Borhan on 6 Dec 2013
Edited: Azzi Abdelmalek on 6 Dec 2013
I have solved a 2D CFD model (a channel) and in the output I have velocity versus y axis in 7 different positions. So, I will have 7 different graphs and I would like to plot them along my channel. Any help is highly appreciated.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 6 Dec 2013
Use plot and hold on
  2 Comments
Borhan
Borhan on 6 Dec 2013
Thank you for your reply. Yet, the new graph is plotted on the previous graph. For this, I would like to have them separated.
Azzi Abdelmalek
Azzi Abdelmalek on 6 Dec 2013
Edited: Azzi Abdelmalek on 6 Dec 2013
Before each plot use
figure
Or use subplot

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!