[R] barplot with both color and shading

Jim Lemon jim at bitwrit.com.au
Wed Feb 22 08:46:41 CET 2012

On 02/22/2012 09:24 AM, Shi, Tao wrote:
> Hi list,
> I want to draw a bar plot with color indicating one grouping and different shading on top of the color indicating another grouping.  How should I proceed?
Hi Tao,
You can build a barplot with the rectFill function (plotrix), but it is 
not a matter of just calling barplot. Have a look at the example 
function and see if it is what you want.


More information about the R-help mailing list