Re: [R] Question re matplot

2007-10-14 Thread jim holtman
You can always add the ylab with 'mtext' and reduce the font size if it is too big. On 10/13/07, David Kaplan <[EMAIL PROTECTED]> wrote: > Yea, sorry, that was a typo when I copied into my emal. > > Here it is again > matplot(battingagg$X, battingagg[, c("HR","RBI","X2B", "BB", > "R", "SB")], type

Re: [R] Question re matplot

2007-10-13 Thread Marc Schwartz
On Sat, 2007-10-13 at 22:16 -0500, David Kaplan wrote: > Yea, sorry, that was a typo when I copied into my emal. > > Here it is again > matplot(battingagg$X, battingagg[, c("HR","RBI","X2B", "BB", > "R", "SB")], type="b",lty=4,lwd=2, col=1:4,xlab = "Year", > ylab = "(1)HRs, (2)RBIs, (3)DOUBLES,(

Re: [R] Question re matplot

2007-10-13 Thread David Kaplan
Yea, sorry, that was a typo when I copied into my emal. Here it is again matplot(battingagg$X, battingagg[, c("HR","RBI","X2B", "BB", "R", "SB")], type="b",lty=4,lwd=2, col=1:4,xlab = "Year", ylab = "(1)HRs, (2)RBIs, (3)DOUBLES,(4)BB,(5)Runs,(6) BB", pty="m",sub = "Figure 2. Plot of Selected O

Re: [R] Question re matplot

2007-10-13 Thread Marc Schwartz
On Sat, 2007-10-13 at 22:00 -0500, David Kaplan wrote: > Hi, > > I have the following script for matplot > > matplot(battingagg$X, battingagg[, c("HR","RBI","X2B", "BB", > "R", "SB")], type="b",lty=4,lwd=2, col=1:4,xlab = "Year", > ylab "(1)HRs, (2)RBIs, (3)DOUBLES,(4)BB,(5)Runs,(6) BB", > pty

[R] Question re matplot

2007-10-13 Thread David Kaplan
Hi, I have the following script for matplot matplot(battingagg$X, battingagg[, c("HR","RBI","X2B", "BB", "R", "SB")], type="b",lty=4,lwd=2, col=1:4,xlab = "Year", ylab "(1)HRs, (2)RBIs, (3)DOUBLES,(4)BB,(5)Runs,(6) BB", pty="m",sub = "Figure 2. Plot of Selected Offensive Baseball Statistics: