Got Questions? Get Answers.
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

Thread Subject:
"Simultaneous" Plotting...

Subject: "Simultaneous" Plotting...

From: Mark Proulx

Date: 29 Aug, 2011 22:07:10

Message: 1 of 2

I seek to plot data on a large number (~250) subplots arrayed in a large figure. I have available a vector of axis handles and vectors of the data to be plotted in each subplot. All abscissa and ordinate vectors are the same length.

Does there exist a mechanism to plot these data in a (for lack of a better word) "simultaneous" fashion, much as one would assign values to arrays "en masse" instead of sequentially? The "plot" and "line" commands do not accept arrays of axis handles and value pairs; I'm inquiring as to whether there is some conceptually similar way to do this as an alternative to sequential progression through a for-end loop.

Subject: "Simultaneous" Plotting...

From: Mark Proulx

Date: 29 Aug, 2011 22:40:29

Message: 2 of 2

"Mark Proulx" <mark.p.proulx@boeing.com> wrote in message <j3h2ie$noe$1@newscl01ah.mathworks.com>...
> I seek to plot data on a large number (~250) subplots arrayed in a large figure. I have available a vector of axis handles and vectors of the data to be plotted in each subplot. All abscissa and ordinate vectors are the same length.
>
> Does there exist a mechanism to plot these data in a (for lack of a better word) "simultaneous" fashion, much as one would assign values to arrays "en masse" instead of sequentially? The "plot" and "line" commands do not accept arrays of axis handles and value pairs; I'm inquiring as to whether there is some conceptually similar way to do this as an alternative to sequential progression through a for-end loop.

By way of clarification...the abscissa and ordinate vectors to be plotted on each subplot are single value pairs. As the test progresses, I wish to see the trends of all of these value pairs. Addressing this number of plots sequentially leads to some rather slow execution times. I figured that this may be due to needless duplication of internal resources, particularly memory.

Tags for 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