[R] lattice: customising panel.segments using groups

2010-05-08 Thread Ky Mathews
#The answer I want: Segment1 has co-ordinates (0,0, x2=-0.25, y2 = -0.5) and be solid, red and of width 1.25 Segment2 has co-ordinates (0,0, x2=0.25, y2 = 0) and be dashed, black and of width 0.75 Segment3 has co-ordinates (0,0, x2=0.8, y2 = 0.75) and be dotted, blue and of width 1.25 An

Re: [R] multiple lattice, xyplot & levelplot on same page - solved

2009-09-30 Thread Ky Mathews
1, 2), ylab = list(c("p2", "p1"), c(1/4, 3/4))) -Original Message- From: foolish.andr...@gmail.com [mailto:foolish.andr...@gmail.com] On Behalf Of Felix Andrews Sent: Sunday, 27 September 2009 9:00 PM To: Ky Mathews Cc: r-help@r-project.org Subject: Re: [R] multiple latt

[R] multiple lattice, xyplot & levelplot on same page

2009-09-26 Thread Ky Mathews
Dear R-users, I'd like to place an xyplot() at the top of a page and a levelplot() at the bottom of the same page, and have the x-axes be the same. I've come close to finding a solution through Rarchive, and can produce an upside-down version of what I'd like (levelplot() on the top - see code