[R] Trellis dotplot label keys

Patrick Connolly
Mon, 05 Nov 2007 09:02:39 -0000

On Thu, 25-Oct-2007 at 04:25PM +0100, Omar Baqueiro wrote:

|> Hello,
|>
|> I am trying to plot a chart similar to the typical barley yield dotplot:
|> dotplot(variety ~ yield | site, data = barley,
|>         groups = year, auto.key = list(space = "right"),
|>         xlab = "Barley Yield (bushels/acre) ",
|>         aspect=0.5, layout = c(1,5))
|>
|> However, I need the plot have different shapes for the different keys
|> and currently I just get circles with different colours as the keys.
|> Can someone tell me the way to indicate R how to assign automatically
|> keys which are black/white printer friendly?

?trellis.par.get


--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
   ___    Patrick Connolly
 {~._.~}          		 Great minds discuss ideas
 _( Y )_  	  	        Middle minds discuss events
(:_~*~_:) 	       		 Small minds discuss people
 (_)-(_)  	                           ..... Anon

~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.