Gerrit Eichner
2006-Oct-31 13:08 UTC
[R] 2.4.0 and lattice 0.14-9: Changed behaviour of scales-argumenttck
Dear list, I have observed a change in the behaviour of the scales-argument tck of xyplot() after having installed R 2.4.0 (for version info see below). The help page of xyplot() says about the scales-argument tck: 'tck' numeric to control length of tick marks. Can be a vector of length 2, to control left/bottom and right/top separately. But if I issue xyplot( y ~ x, scales= list( tck= c( 1, 0))) (with suitable numeric vectors x and y, of course) the plot shows alternating tick mark lengths *on every side* of the plot (i.e., the length of every second tick mark is zero). I wanted to see tick marks only on the left and bottom side of the coordinate system (as I did see before with R 2.2.0 and lattice version 0.12-9). Has anybody a workaround to get back the original (documented) behaviour? Thanks a lot! Best regards -- Gerrit PS: My system:> version_ platform x86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2 minor 4.0 year 2006 month 10 day 03 svn rev 39566 language R version.string R version 2.4.0 (2006-10-03) --------------------------------------------------------------------- AR Dr. Gerrit Eichner Mathematical Institute gerrit.eichner at math.uni-giessen.de Justus-Liebig-University Giessen Tel: +49-(0)641-99-32104 Arndtstr. 2, 35392 Giessen, Germany Fax: +49-(0)641-99-32029 http://www.math.uni-giessen.de
Deepayan Sarkar
2006-Oct-31 16:12 UTC
[R] 2.4.0 and lattice 0.14-9: Changed behaviour of scales-argumenttck
On 10/31/06, Gerrit Eichner <Gerrit.Eichner at math.uni-giessen.de> wrote:> Dear list, > > I have observed a change in the behaviour of the scales-argument tck of > xyplot() after having installed R 2.4.0 (for version info see below). > > The help page of xyplot() says about the scales-argument tck: > > 'tck' numeric to control length of tick marks. Can be a vector > of length 2, to control left/bottom and right/top separately. > > But if I issue > > xyplot( y ~ x, scales= list( tck= c( 1, 0))) > > (with suitable numeric vectors x and y, of course) the plot shows > alternating tick mark lengths *on every side* of the plot (i.e., the > length of every second tick mark is zero). I wanted to see tick marks only > on the left and bottom side of the coordinate system (as I did see before > with R 2.2.0 and lattice version 0.12-9).It's a bug that I had a fix for but forgot to include in the last update. A new version of lattice should be available in a day or two.> Has anybody a workaround to get back the original (documented) > behaviour?Since you are on linux, you could simply check out the svn version from https://svn.r-project.org/R-packages/trunk/lattice and compile it. -Deepayan> Thanks a lot! > > Best regards -- Gerrit > > PS: My system: > > > version > _ > platform x86_64-unknown-linux-gnu > arch x86_64 > os linux-gnu > system x86_64, linux-gnu > status > major 2 > minor 4.0 > year 2006 > month 10 > day 03 > svn rev 39566 > language R > version.string R version 2.4.0 (2006-10-03)
Seemingly Similar Threads
- Problem with regression line
- effects & lme4: error since original data frame notfoundWASeffects: error when original data frame is missing
- lattice xyplot() postscript (?) problem in R 2.0.0
- effects & lme4: error since original data frame not found WASeffects: error when original data frame is missing
- Evaluation "conflict" in combination of replicate() and rexp()as variable inside a function