On Fri, 2008-06-27 at 15:17 +0530, Archana Vagish wrote:
> Hi,
>  I want to plot a series of numbers ( which lie in the range 1-20, there are
> many such numbers) as a barplot. However instead of representing the values
> in terms of height, i want to assign one unique color to each number. How
> can this be done in R?

Hi Archana,
Have a look at the color.scale function in the plotrix package to may
your values into colors.

Jim

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to