[R] assigning colors to barplot

From: Archana Vagish <archanavagish_at_gmail.com>
Date: Fri, 27 Jun 2008 15:17:31 +0530


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?
Thanks,
archana,
II yr PhD student,
Dept of CSA, IISc

        [[alternative HTML version deleted]]



R-help_at_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. Received on Fri 27 Jun 2008 - 09:50:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 27 Jun 2008 - 13:31:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive