[R] Increase the number of plotting characters in dotplot (lattice)?

Chuck Cleland ccleland at optonline.net
Wed May 10 14:46:56 CEST 2006


library(lattice)

show.settings()

trellis.par.set(superpose.symbol = list(pch = 1:16), dot.symbol = 
list(pch = 1:16))

show.settings()

?trellis.par.get

Fredrik Karlsson wrote:
> Dear list,
> 
> I am using the dotplot function of lattice and like it very much.
> However, in some of the plots, I have more than 7 categories that I
> would like to represent by different plotting characters in the graph,
> which is  a problem. For the categories after the 7th, the plotting
> characters are recycled, creating a confisuing graph indeed.
> 
> So, my question is: how do I increase the number of unique plotting characters?
> 
> /Fredrik
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894




More information about the R-help mailing list