I would like to create an xyplot with varying y-axis limits and horizontal 
labels at the y-axis tickmarks.
The following does not seem to work, although I think it should, going by the 
documentation for par.
R version 2.5.1, Windows XP Prof.
Thanks for a clue.

  Andreas Krause

library(lattice)

# axis labels for y-axis are horizontal
xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris)

# labels are now vertical
xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris, 
scales=list(relation="free"))

# still vertical despite las=1
xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris, 
scales=list(relation="free"), las=1)
xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris, 
scales=list(relation="free", las=1))

# The example produces the same results for histogram(~Sepal.Width, ...)

______________________________________________
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