From: Roger on
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?
From: Steven Lord on

"Roger " <roger.alms(a)yahoo.com> wrote in message
news:hv80rg$4aq$1(a)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(a)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


From: sscnekro on
Check out plot(x,y, properties) .. it is possible to off-set the line.
Eventually, scatter() .. less preferable.
From: Rob Campbell on
"sscnekro " <stiahni.mail(a)zoznam.sk> wrote in message <hv81g5$fn3$1(a)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
 | 
Pages: 1
Prev: help with the code
Next: Existing Matlab Code