[R] Colour gradient is not working.

Sarah Goslee sarah.goslee at gmail.com
Tue Jun 2 15:07:24 CEST 2015


> plot(1:33292, 1:33292,col=Color(33292))
Error in plot.xy(xy, type, ...) : could not find function "Color"

Please tell us what you're trying to accomplish. "not working" is rather vague.

Without a reproducible example that includes some sample data (fake is
fine), the code you used, and some clear idea of what output you
expect, it's impossible to figure out how to help you. Here are some
suggestions for creating a good reproducible example:
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

Sarah

On Tue, Jun 2, 2015 at 4:39 AM, sreenath <sreenath.rajur at macfast.ac.in> wrote:
> sir i done this plot(1:33292, 1:33292,col=Color(33292)) command then it gives
> the coloured line but again it is not working  in my data why?
>
>
>

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list