Yup, that did the trick.

Thanks a mil


On Thu, Apr 4, 2013 at 12:10 PM, Rui Barradas <ruipbarradas@sapo.pt> wrote:

> Hello,
>
> Try the following.
>
>
> h <- hist(rnorm(100), xaxt = "n")
> axis(1, at = h$breaks)
>
>
> Hope this helps,
>
> Rui Barradas
>
> Em 04-04-2013 11:44, Shane Carey escreveu:
>
>  Hi,
>>
>> I would like to places x-axis labels at the edge of bins on a histogram,
>> i.e. the min value at first bin edge (left hand side) and max at the last
>> bin edge (right hand side).
>> As it stands, it places the values in the centre of each bin.
>>
>> Thanks
>>
>>
>>
>>


-- 
Shane

	[[alternative HTML version deleted]]

