[R] Colour gradient is not working.

MacQueen, Don macqueen1 at llnl.gov
Mon Jun 1 17:15:47 CEST 2015


Try this
   plot(1:33292, 1:33292,col=Color(33292))
and then decide again whether or not it is working.

-Don

-- 
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062





On 6/1/15, 4:12 AM, "sreenath" <sreenath.rajur at macfast.ac.in> wrote:

>I have a table of 33291 rows. When i try to plot the graph with gradient
>colour using "colorRampPalette" command but the out put graph is
>colourless
>or in black colour.But when i try the same command with small values it is
>working why it so?
>
>Color <- colorRampPalette(c("red","blue"))
>
>plot(x,y,col=Color(33292))
>
>
>
>
>--
>View this message in context:
>http://r.789695.n4.nabble.com/Colour-gradient-is-not-working-tp4708000.htm
>l
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>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.



More information about the R-help mailing list