[R] how to label customized y axis when using lattice parallel parameter common.scale=TRUE

2011-04-05 Thread Pengcheng Yang
Dear all, When I use parallel function in lattice package, I want to label the y-axis with customized numbers. Like this: parallel(~iris[1:4] | Species, iris,horiz=FALSE,common.scale=TRUE, scales=list(y=list(at=c(0,2,3 But only Min label in the y-axis, nothing happened. Could anyone

Re: [R] how to label customized y axis when using lattice parallel parameter common.scale=TRUE

2011-04-05 Thread Deepayan Sarkar
On Tue, Apr 5, 2011 at 4:39 PM, Pengcheng Yang peng...@gmail.com wrote: Dear all, When I use parallel function in lattice package, I want to label the y-axis with customized numbers. Like this: parallel(~iris[1:4] | Species, iris,horiz=FALSE,common.scale=TRUE,    

Re: [R] how to label customized y axis when using lattice parallel parameter common.scale=TRUE

2011-04-05 Thread Pengcheng Yang
Thanks Deepayan, It works! On 2011-4-5 21:42, Deepayan Sarkar wrote: On Tue, Apr 5, 2011 at 4:39 PM, Pengcheng Yangpeng...@gmail.com wrote: Dear all, When I use parallel function in lattice package, I want to label the y-axis with customized numbers. Like this: parallel(~iris[1:4] |

Re: [R] how to label customized y axis when using lattice parallel parameter common.scale=TRUE

2011-04-05 Thread Pengcheng Yang
I have readjust the script as follows to retain the complete information of original graph, the background vertical bar. parallel(~iris[1:4] | Species, iris,horizon=FALSE, ylim = extendrange(range(iris[1:4])), scales = list(y = list(at = NULL, labels = NULL),x=list(rot=45)),