Thread Subject:
simple dot plot

Subject: simple dot plot

From: Roger

Date: 15 Jun, 2010 13:57:05

Message: 1 of 4

I have just started an applied statistics course and I need to do a simple dot plot on discrete data. I can find the histogram plots and many other plots but not a simple dot plot. Is there a matlab function that can do this?

Subject: simple dot plot

From: Steven Lord

Date: 15 Jun, 2010 14:07:53

Message: 2 of 4


"Roger " <roger.alms@yahoo.com> wrote in message
news:hv80rg$4aq$1@fred.mathworks.com...
>I have just started an applied statistics course and I need to do a simple
>dot plot on discrete data. I can find the histogram plots and many other
>plots but not a simple dot plot. Is there a matlab function that can do
>this?

By "dot plot" do you mean a SCATTER plot?

help scatter

Or if the "dots" are the same size, just plot individual points:

x = rand(1, 10);
y = rand(1, 10);
plot(x, y, 'o') % No line specifier in the LineSpec => no line

--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: simple dot plot

From: sscnekro

Date: 15 Jun, 2010 14:08:06

Message: 3 of 4

Check out plot(x,y, properties) .. it is possible to off-set the line.
Eventually, scatter() .. less preferable.

Subject: simple dot plot

From: Rob Campbell

Date: 16 Jun, 2010 14:41:04

Message: 4 of 4

"sscnekro " <stiahni.mail@zoznam.sk> wrote in message <hv81g5$fn3$1@fred.mathworks.com>...
> Check out plot(x,y, properties) .. it is possible to off-set the line.
> Eventually, scatter() .. less preferable.

You might like this:
http://www.mathworks.com/matlabcentral/fileexchange/27582-rug-plots

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
statistics Roger 15 Jun, 2010 09:59:07
rssFeed for this Thread

Contact us