From help-octave-request at bevo dot che dot wisc dot edu Mon Jun 2 12:02:20 2003 Subject: Re: placing the y lables of the bars over the bars ? From: WJ Atsma To: anas ali Cc: octave-help-list 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 -------------------------------------------------------------