Dear R list, For some reason I am unable to access neither search.r-project.org, nor http://finzi.psych.upenn.edu/ so I cannot search the archives for a possible answer (I Googled for this but didn't find anything). Is it possible to draw barplots using a texture instead of colors, for a black and white printer? TIA, Adrian -- Adrian Dusa Arhiva Romana de Date Sociale Bd. Schitu Magureanu nr.1 Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101 -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/
Adrian Dusa schrieb:>Is it possible to draw barplots using a texture instead of colors, for a black >and white printer? > > >barplot(height,.....,density=c(4,6,8,10) ...) for each bar one number - this example is for a barplot with 4 bars. with regards Knut Krueger http://www.biostatistic.de
On Wednesday 13 July 2005 17:36, Knut Krueger wrote:> Adrian Dusa schrieb: > >Is it possible to draw barplots using a texture instead of colors, for a > > black and white printer? > > barplot(height,.....,density=c(4,6,8,10) ...) > > for each bar one number - this example is for a barplot with 4 bars. > > with regards > Knut Krueger > http://www.biostatistic.deThank you, I read about density but they only seem to draw diagonal lines (differing in the number of lines per inch). I am looking for different *types* of texture (i.e. maybe I could reverse the shading lines, or cross-lines or something like that). All the best, Adrian -- Adrian Dusa Arhiva Romana de Date Sociale Bd. Schitu Magureanu nr.1 Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101 -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/
Knut Krueger schrieb:>Adrian Dusa schrieb: > > > >>Is it possible to draw barplots using a texture instead of colors, for a black >>and white printer? >> >> >> >> >> > barplot(height,.....,density=c(4,6,8,10) ...) > >for each bar one number - this example is for a barplot with 4 bars. > > >forgot something you could also set the angle and the color of the lines barplot(height,.....,col=c("blue","blue","blue","green"),density=c(4,6,8,10),angle=c(15,30,60,90), ...) with regards Knut Krueger http://www.biostatistic.de