help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: placing the y lables of the bars over the bars ?


From: WJ Atsma
Subject: Re: placing the y lables of the bars over the bars ?
Date: Mon, 2 Jun 2003 13:15:24 +0200

You can use the text command:

[N,X]=hist(rand(100,1));
bar(X,N);
for i=1:length(X)
        text(X(i),N(i),num2str(N(i)));
endfor
replot

Willem


On 2003.06.02 10:29 anas ali wrote:
hi,
can i place the exact y values of the histogram over
the bars(inside the plot) ?




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]