Re: [R] Problems producing a simple plot

2009-05-02 Thread David Freedman
you might also look at matplot d=data.frame(x=1:10,y1=sort(rnorm(10)),y2=sort(rnorm(10))) matplot(d[,1],d[,2:3],type='l',lty=1:2) David Freedman Steve Murray-3 wrote: > > > Dear R Users, > > I have a data frame of the nature: > >> head(aggregate_1986) > Latitude Mean Annual Simulated R

Re: [R] Problems producing a simple plot

2009-05-02 Thread Peter Flom
Steve Murray wrote > >I have a data frame of the nature: >I am hoping to plot columns 2 and 3 against Latitude. I understand that you >have to do this by plotting one column at a time, so I have been starting by >attempting the following, but receiving errors: > > >I'm obviously doing someth

[R] Problems producing a simple plot

2009-05-02 Thread Steve Murray
Dear R Users, I have a data frame of the nature: > head(aggregate_1986) Latitude Mean Annual Simulated Runoff per 1° Latitudinal Band 1 -55574.09287 2 -54247.23078 3 -53