[R] help in plotting

2007-11-23 Thread G Ilhamto
Dear list, I want to combine several plots in one graph. I did this: plot(a1); plot(a2, add=TRUE); ...plot(a5, add=TRUE) The problem is the more plot we put, the more complex the graph. Is there any way to label each line; or other way just to make sure I know which one which? Thank you for the h

Re: [R] help in plotting

2007-11-24 Thread jim holtman
You can use color (col=), line type (lty=), line width (lwd=), plot character (pch=) --- take you choice. \the more plot we put, the more complex the graph. > Is there any way to label each line; or other way just to make sure I know > which one which? > > Thank you for the help, > Ilham > >

Re: [R] help in plotting

2007-11-24 Thread David Winsemius
David Winsemius <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > > This is a worked example taken from Seefeld and Kim's monograph: > Sorry, boloxed the authors. By Kim Seefeld and Ernst Linder. -- David Winsemius __

Re: [R] help in plotting

2007-11-24 Thread David Winsemius
"G Ilhamto" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I want to combine several plots in one graph. > I did this: plot(a1); plot(a2, add=TRUE); ...plot(a5, add=TRUE) > The problem is the more plot we put, the more complex the graph. > Is there any way to label each line; or other way

Re: [R] help in plotting

2007-11-25 Thread John Kane
That code seems to put the legend basically out of range. For the last line try x= 8 rather than 10. legend(x=8,y=.3,paste("Scale=",c(1,2,4,8)),lty=1:4) --- David Winsemius <[EMAIL PROTECTED]> wrote: > "G Ilhamto" <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > > > > I want to combin

Re: [R] help in plotting

2007-11-25 Thread Duncan Murdoch
On 25/11/2007 1:00 PM, John Kane wrote: > That code seems to put the legend basically out of > range. > > For the last line try x= 8 rather than 10. > > legend(x=8,y=.3,paste("Scale=",c(1,2,4,8)),lty=1:4) Or use one of the named locations, e.g. legend("topright",paste("Scale=",c(1,2,4,8)),lty=1

Re: [R] help in plotting

2007-11-25 Thread David Winsemius
Duncan Murdoch <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > On 25/11/2007 1:00 PM, John Kane wrote: >> That code seems to put the legend basically out of >> range. >> >> For the last line try x= 8 rather than 10. >> >> legend(x=8,y=.3,paste("Scale=",c(1,2,4,8)),lty=1:4) > > Or use on

[R] Help in plotting a legend

2009-08-25 Thread Ashutosh Nandeshwar
Hello, List, I am a new user of the R project, and I need some help in plotting a legend. I am using the PBSmapping library to plot map of Ohio and heat color it with the count of employees in each county. As a guide, I am using "Data Mashups in R." I am able to plot the map with the colors; ho

Re: [R] Help in plotting a legend

2009-08-26 Thread Jim Lemon
Ashutosh Nandeshwar wrote: Hello, List, I am a new user of the R project, and I need some help in plotting a legend. I am using the PBSmapping library to plot map of Ohio and heat color it with the count of employees in each county. As a guide, I am using "Data Mashups in R." I am able to pl