Re: [R] using png and identify commands

2015-02-02 Thread Antonio Silva
Thanks Henrik and Tom, job done. Nice solutions. All the best Antonio Olinto 2015-02-02 17:31 GMT-02:00 Henrik Bengtsson : > On Mon, Feb 2, 2015 at 9:56 AM, Antonio Silva > wrote: > > Hi R users > > > > I want to save a plot after using the command identify. > > > > I use identify to place lab

Re: [R] using png and identify commands

2015-02-02 Thread Henrik Bengtsson
On Mon, Feb 2, 2015 at 9:56 AM, Antonio Silva wrote: > Hi R users > > I want to save a plot after using the command identify. > > I use identify to place labels manually near the points in order to avoid > overlapping lines and numbers. > > x<-c(1,2,3,4,5,6) > y<-c(20,30,15,7,25,40) > plot(x,y,typ

Re: [R] using png and identify commands

2015-02-02 Thread Tom Wright
replacing png(...) and dev.off() with dev2bitmap('test.png') seems to work. On Mon, 2015-02-02 at 15:56 -0200, Antonio Silva wrote: > Hi R users > > I want to save a plot after using the command identify. > > I use identify to place labels manually near the points in order to avoid > overlapping

[R] using png and identify commands

2015-02-02 Thread Antonio Silva
Hi R users I want to save a plot after using the command identify. I use identify to place labels manually near the points in order to avoid overlapping lines and numbers. x<-c(1,2,3,4,5,6) y<-c(20,30,15,7,25,40) plot(x,y,type="b",ylim=c(0,45)) identify(x,y,labels=y) But when I add png(filenam