Re: [R] Does anybody know how to control the appearance of the end of the line in lattice?

2010-08-17 Thread Deepayan Sarkar
On Mon, Aug 9, 2010 at 1:19 AM, George Chen glc...@stanford.edu wrote: Hi All, I am plotting vertical lines using xyplot in lattice and type=h. It works well, but the problem is that the tops of the lines are convex and the bottoms are concave. Is there a way to flatten the tops and

Re: [R] Does anybody know how to control the appearance of the end of the line in lattice?

2010-08-09 Thread Duncan Mackay
Hi see http://finzi.psych.upenn.edu/Rhelp10/2010-April/234441.html The following I think works - its a bit rough - needs improving but saves closing the device. xyplot(y2+y1~x, data=Source, par.settings = list(grid.pars = list(lineend = butt)), #distribute.type=TRUE,

Re: [R] Does anybody know how to control the appearance of the end of the line in lattice?

2010-08-08 Thread Paul Murrell
Hi On 9/08/2010 7:49 a.m., George Chen wrote: Hi All, I am plotting vertical lines using xyplot in lattice and type=h. It works well, but the problem is that the tops of the lines are convex and the bottoms are concave. Is there a way to flatten the tops and bottoms? You want to control the

Re: [R] Does anybody know how to control the appearance of the end of the line in lattice?

2010-08-08 Thread p_connolly
On Sun, 08-Aug-2010 at 12:49PM -0700, George Chen wrote: | Hi All, | | I am plotting vertical lines using xyplot in lattice and type=h. | It works well, but the problem is that the tops of the lines are | convex and the bottoms are concave. Is there a way to flatten the | tops and bottoms? The