Skip to content
Back to formatted view

Raw Message

Message-ID: <50EE2CC9.3020800@bitwrit.com.au>
Date: 2013-01-10T02:51:53Z
From: Jim Lemon
Subject: graphical distance matrix
In-Reply-To: <BLU170-W45E61DA46C63942E7D2E38892B0@phx.gbl>

On 01/10/2013 07:50 AM, eliza botto wrote:
>
> Dear R-family,
> I made a distance matrix of about 2000 stations. its extremely hard to visualize the details of that matrix. I heard that there is a way in R to represent the details of distance matrix graphically. more precisely, different sections of our distance matrix can be presented in different colors. low values be presented in light colors and high values in dark. is there really a way of doing it??
> thanks in advance
> regards
> elisa 		 	   		

Hi elisa,
In the example for the function "color.scale.lines" (plotrix) you will 
find one method of coloring something (lines in this case) depending 
upon the distance from something else (the starting point). With 
judicious modification, I think it might do what you want.

Jim