[R] display a matrix in colors

Jim Lemon drjimlemon at gmail.com
Sat Jun 13 05:41:00 CEST 2015


Hi Bogdan,
Have a look at color2D.matplot in the plotrix package - it's a bit
different from "image" and "heatmap".

Jim


On Sat, Jun 13, 2015 at 10:39 AM, Bogdan Tanasa <tanasa at gmail.com> wrote:
> Hi David, thanks, yes,
>
> heatmap provides clustered heatmap, and I am looking for an unclustered
> display of a matrix, and only to set up the color ranges. thanks for your
> help !
>
> -- bogdan
>
> On Fri, Jun 12, 2015 at 5:36 PM, David Winsemius <dwinsemius at comcast.net>
> wrote:
>
>>
>>
>> On Jun 12, 2015, at 5:28 PM, Bogdan Tanasa wrote:
>>
>> > Dear all,
>> >
>> > please could you advise about the most convenient functions or libraries
>> to
>> > use in order to display a matrix as a heatmap/a color matrix ?
>> >
>> > the matrix contains the values of 0, 10, 20, 30 or 100. thank you !
>>
>> What? You must have looked at `?heatmap` and the links on its help page,
>> so what really is the question?
>>
>> >
>> > -- bogdan
>> >
>> >       [[alternative HTML version deleted]]
>> >
>> > ______________________________________________
>> > 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.
>>
>> David Winsemius
>> Alameda, CA, USA
>>
>>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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