Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-10 Thread Jim Lemon
mister_bluesman wrote: Ive been getting the color.scale function to work. However, I really need to know is that if i have values: 0.1 0.2, 0.3, 0.4, 0.5, for example, how I can plot these using colours that would be different if the contents of the file were 0.6, 0.7, 0.8, 0.9 and 1.0. Using

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-10 Thread mister_bluesman
Hi Jim. Thanks for all your help. But would this ensure that, say, the color for the value 0.1 would ALWAYS be the SAME and ALWAYS be DIFFERENT from that of other values, regardless of the size of the vector? CHEERS Jim Lemon-2 wrote: mister_bluesman wrote: Ive been getting the

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-09 Thread mister_bluesman
Ive been getting the color.scale function to work. However, I really need to know is that if i have values: 0.1 0.2, 0.3, 0.4, 0.5, for example, how I can plot these using colours that would be different if the contents of the file were 0.6, 0.7, 0.8, 0.9 and 1.0. Using color.scale scales them so

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-08 Thread Jim Lemon
mister_bluesman wrote: Hello. I have a 2d plot which looks like this: http://www.nabble.com/file/8242/1.JPG This plot is derived from a file that holds statistics about each point on the plot and looks like this: abc d e a

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-08 Thread mister_bluesman
Thanks people! Sorry to sound thick but after I download the poltrix package, how do i install it? Thank you! -- View this message in context: http://www.nabble.com/Representing-a-statistic-as-a-colour-on-a-2d-plot-tf3703885.html#a10383035 Sent from the R help mailing list archive at

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-08 Thread John Kane
How did you download it? In Windows if you used the Packages Install packages route it is installed. Just type library(plotrix) to load it. No idea for Linux or Mac. --- mister_bluesman [EMAIL PROTECTED] wrote: Thanks people! Sorry to sound thick but after I download the poltrix package,

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-08 Thread Roland Rau
mister_bluesman wrote: Thanks people! Sorry to sound thick but after I download the poltrix package, how do i install it? Thank you! which platform are you on? On Windows I would suggest you use the Menu of the GUI Install packages from local zip files in the main category 'packages' On

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-08 Thread mister_bluesman
Thanks for you all your help guys. Much appreciated. -- View this message in context: http://www.nabble.com/Representing-a-statistic-as-a-colour-on-a-2d-plot-tf3703885.html#a10383998 Sent from the R help mailing list archive at Nabble.com. __

[R] Representing a statistic as a colour on a 2d plot

2007-05-07 Thread mister_bluesman
Hello. I have a 2d plot which looks like this: http://www.nabble.com/file/8242/1.JPG This plot is derived from a file that holds statistics about each point on the plot and looks like this: abc d e a00.4980.473

Re: [R] Representing a statistic as a colour on a 2d plot

2007-05-07 Thread J . delasHeras
check ?rainbow to generate the colours (which also shows you other related functions like 'heat.colors' that you may also find useful. To plot the coloured points, check ?points. hope this helps a bit Jose Quoting mister_bluesman [EMAIL PROTECTED]: Hello. I have a 2d plot which looks