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:
Markers for graph

Subject: Markers for graph

From: Selim

Date: 14 Jun, 2007 13:40:35

Message: 1 of 3

Hi,
I have to show 100 plots in one plot.
I can do that in loop.Ok
But the problem is with the markers.
Is there an efficient way in matlab for such a represantation?(I want
to use 100 markers,but visually should be nice?)

Thanks,
Selim

Subject: Markers for graph

From: Joseph

Date: 14 Jun, 2007 16:05:02

Message: 2 of 3

You want to display 100 unique markers on a graph? Yeah, that would
look absolutely horrible. Of course, even if you were able to make
out each individual marker, there would be way too much data for a
person to visualize efficiently.

So, try to think of nifty tricks to get the idea across more
efficiently. This Depends on your data set and what you are trying
to do.
Maybe contour, surf or one of the other functions matlab has will
suit your needs better.

type
doc graphics
to get started

 Selim wrote:
>
>
> Hi,
> I have to show 100 plots in one plot.
> I can do that in loop.Ok
> But the problem is with the markers.
> Is there an efficient way in matlab for such a represantation?(I
> want
> to use 100 markers,but visually should be nice?)
>
> Thanks,
> Selim

Subject: Markers for graph

From: Paul Mennen

Date: 14 Jun, 2007 18:45:50

Message: 3 of 3

> I have to show 100 plots in one plot.
> I can do that in loop.Ok
> Selim

For such a large number of traces in one plot
you probably should try "plt". (Search for
"plt" in the file exchange). The example
program "demo\pltn.m" shows 99 traces at once
and you don't even need a loop to do that.
You can distinguish the the traces based on
any combination of color, markers, linewidths,
and linestyles.

Actually 99 traces is the max allowed if you want
the automatically generated legend, although you
can get more traces by turning off that feature.
(See demo\bounce.m for an example of that).

~Paul

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