Dear all,

I would like to change the "fill" pattern of a histogram using histogram() in 
the lattice package.  I know how to do so using hist(), but would prefer to 
stay within lattice.

dt1 <- rnorm(100,0,1)

hist(dt1, density=3, angle=45)


library(lattice)
histogram(dt1,
               xlab = "Histogram of rnorm(0,1)",
               type = "count",
               breaks = 15,
               col = "grey")


With regards,
J. Powell





        [[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.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to