From: mb on
Instead of plotting the histogram as bars, I want to plot is as diamonds (i.e a diamond at the top of each bar).

How can I do this?
From: Steven Lord on

"mb " <marit.berger(a)student.lu.se> wrote in message
news:hq4dmf$q96$1(a)fred.mathworks.com...
> Instead of plotting the histogram as bars, I want to plot is as diamonds
> (i.e a diamond at the top of each bar).
> How can I do this?

Call HIST with one or two outputs and then use the regular PLOT function
with the appropriate line specification ('d' if you don't want the diamonds
connected by lines, 'd-' if you do.)

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ