Is this what you mean?
x <- rnorm(12)
histogram(x)
histogram(x, scales=list(x=list(at=c(-1, 1), labels=c("minus one", "one"
On Thu, Apr 12, 2012 at 9:28 AM, carol white wrote:
> Hello,
> Is it possible to selectively display labels on a histogram?
>
> Thanks
>
> Carol
>
>[[alterna
dify
for instance this
h.lab <- h$counts
h.lab[seq(2,16,2)]<-NA
hist(x, labels=as.character(h.lab))
prints every second label
Regards
Petr
>
> thanks
>
> From: Petr PIKAL
> To: carol white
> Cc: "r-h...@stat.math.ethz.ch"
> Sent: Thursday, April 12, 20
No, data labels on the histogram bars. labels = T in hist displays all data
labels.
thanks
From: Petr PIKAL
Cc: "r-h...@stat.math.ethz.ch"
Sent: Thursday, April 12, 2012 4:03 PM
Subject: Re: [R] selective labels display on histogram
Hi
>
Hi
>
> Hello,
> Is it possible to selectively display labels on a histogram?
What labels?
Like that?
x<-rnorm(1)
hist(x)
hist(x, axes=F, xlab="bla", ylab="ble", main="bleble")
axis(1, at=c(-4, -1, 1, 4))
Regards
Petr
>
> Thanks
>
> Carol
>
>[[alternative HTML version deleted]]
>
Hello,
Is it possible to selectively display labels on a histogram?
Thanks
Carol
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www
5 matches
Mail list logo