At 11:09 AM 10/04/2004, you wrote:
Hi all

I'd like to create a grey palette for a filled.contour()
from blank (smallest values) to black (large values)

I have used somethig like this with bar plots:

colvec <- gray(sqrt(seq(from=0.05, to=1.0, length=ncolor)))

That will save a color palette in colvec for use in your call.

MHP


-- Michael Prager, Ph.D. <[EMAIL PROTECTED]> NOAA Beaufort Laboratory Beaufort, North Carolina 28516 http://shrimp.ccfhrb.noaa.gov/~mprager/ ***

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to