Re: [R] Help me with R plotting

2010-11-18 Thread Alaios
Thanks a lot :) nice one --- On Thu, 11/18/10, baptiste Auguié wrote: From: baptiste Auguié Subject: Re: [R] Help me with R plotting To: "Alaios" Cc: "Rhelp" Date: Thursday, November 18, 2010, 3:34 PM Hi, Try this, robots <- data.frame(id=letters[1:20],        

Re: [R] Help me with R plotting

2010-11-18 Thread Tal Galili
s" > > Also I tried legend... which creates small boxes below the dots which is Do > not what I want exactly. I would like below every plot to write some text > but not inside any box that will cover part of the image. > > Best Regards > Alex > > --- On *Thu, 11/18/10,

Re: [R] Help me with R plotting

2010-11-18 Thread baptiste Auguié
o write some text but > not inside any box that will cover part of the image. > > Best Regards > Alex > > --- On Thu, 11/18/10, Tal Galili wrote: > > From: Tal Galili > Subject: Re: [R] Help me with R plotting > To: "Alaios" > Cc: "Rhelp"

Re: [R] Help me with R plotting

2010-11-18 Thread Alaios
text but not inside any box that will cover part of the image. Best Regards Alex --- On Thu, 11/18/10, Tal Galili wrote: From: Tal Galili Subject: Re: [R] Help me with R plotting To: "Alaios" Cc: "Rhelp" Date: Thursday, November 18, 2010, 2:13 PM ?plotWill give a goo

Re: [R] Help me with R plotting

2010-11-18 Thread Tal Galili
?plot Will give a good solution #Example: set.seed(5) xx <- data.frame(x = runif(50), y = runif(50), z = sample(c(1:3), 50, T)) with(xx, plot(x, y, col = z, pch = 19)) Now you can start going into how to play with the colors, and how to add ?legend to the image... Tal Contact

[R] Help me with R plotting

2010-11-18 Thread Alaios
Hello everyone. I want some help with plots. I have some robots in an area. Every robot is placed on x,y coordinates and every robot has a power consumption of some watts. I would like to show where are the robots by showing in a map dots (where every dots is the x,y coordinate). Below that dot