[R] texture in barplots?

Knut Krueger admin at biostatistic.de
Wed Jul 13 17:55:56 CEST 2005



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




More information about the R-help mailing list