Khaled OUANES
2008-May-16 11:35 UTC
[R] creating a 2d plan graphic and projecting points in it
Hello; I want to create a 2 D plan with (123 values) for axis1 and 7 values for axis 2. I then want to make a projection of points with their coordonates in that plan! is that possible and how to proceed? Thanks [[alternative HTML version deleted]]
Khaled OUANES
2008-May-16 12:25 UTC
[R] creating a 2d plan graphic and projecting points in it
Hey Jim, In fact the 123 values range from: (minus) -1,50156 to 0,61068 and I need to enter them as graduation for the X axis (axis 1) and the other 7 values (0,458333333 0,609 0,6123 0,63 0,72 1 1) I need them to form a graduation for axis 2. then I have points with coordinates (x,y) that I want to project on this 2D plan. Thanks again. On Fri, May 16, 2008 at 1:59 PM, Jim Lemon <jim@bitwrit.com.au> wrote:> Khaled OUANES wrote: > >> Hello; >> I want to create a 2 D plan with (123 values) for axis1 and 7 values for >> axis 2. >> I then want to make a projection of points with their coordonates in that >> plan! >> is that possible and how to proceed? >> > > Hi Khaled, > If you want an empty plot with dimensions 123 x 7: > > plot(0,xlim=c(1,123),ylim=c(1.7),type="n",axes=FALSE) > > If your points are specified as something like: > > x<-sample(1:123,20) > y<-round(rnorm(20,4,2),2) > > you can place the coordinates of those points like this > > text(x,y,paste(x,y,sep=",")) > > Jim >[[alternative HTML version deleted]]