[R] Colour gradient is not working.

Boris Steipe
2015-06-13T13:17:59Z

1. Don't ignore previous advice


On Jun 1, 2015, at 10:59 AM, Boris Steipe <boris.steipe at utoronto.ca>
wrote:

> 1. Don't use Nabble for the r-help mailing list.
>
> 2. Read the posting guide, and read
http://adv-r.had.co.nz/Reproducibility.html
>


2. Map your values to a range of integers that you can use as indices of your
colour vector. The rank() function may be useful for this. However this is
probably a bad idea from an information design point of view: it is likely that
the resulting plot is misleading by presenting a continuity in colour where
there is a discontinuity in values.


B.
PS. Seriously: don't ignore previous advice. I will not respond to further
questions if you do.



On Jun 13, 2015, at 1:09 AM, sreenath <sreenath.rajur at macfast.ac.in>
wrote:

> How can i use colour gradient according to y axis if the y values not
> increasing gradualy
>
>
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/Colour-gradient-is-not-working-tp4708000p4708595.html
> 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.