Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
Inidividual Plots

Subject: Inidividual Plots

From: Baalzamon

Date: 15 Mar, 2010 16:19:08

Message: 1 of 4

Hi there,

My question, this time, is how can I draw mulitple plots in different figure windows??
As an example. My input data file has a column vector that is non uniform and the range of which can vary from file to file. I can extract the data by blocks but can never be sure of how many blocks i'll get. Now i want to plot each block on a different figure window. Any ideas?

I saw an example whereby it was of the form

Fig 1
Fig 2

Is it possible to do something like
for i=1:n
clear a;

Subject: Inidividual Plots

From: Sadik

Date: 16 Mar, 2010 00:52:05

Message: 2 of 4

Hi Baalzamon,

Yes it is.

for i = 1:n
    clear a;

Subject: Inidividual Plots

From: Baalzamon

Date: 17 Mar, 2010 14:30:28

Message: 3 of 4

Ah cheers. Will this keep all the plots rather than overwriting ?

Subject: Inidividual Plots

From: Sadik

Date: 17 Mar, 2010 14:50:24

Message: 4 of 4

Yes, it will. Each plot will appear in a separate figure window.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us