[R] Making color gradient

From: Zarrar Shehzad <zarrar.shehzad_at_gmail.com>
Date: Sun, 27 Apr 2008 20:10:06 -0400


Hi

I would like to make a color bar with a gradient of colors that represent values between 0-1. I used the gradient.rect function in plotrix to make the actually color bar but I don't know how to put a range of values (0-1) next to the color bar. How do I do this?

Thanks
Zarrar

-- 
Zarrar Shehzad
Research Assistant
NYU Child Study Center
215 Lexington Avenue, 14th Floor
New York, NY  10016
Phone: (212) 263-8911

	[[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 Mon 28 Apr 2008 - 00:12:42 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 Mon 28 Apr 2008 - 09:30:34 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