Re: [R] Can grid lines color in a plot be specified?

2004-10-01 Thread Marc Schwartz
On Fri, 2004-10-01 at 07:44, Luis Rideau Cruz wrote: R-help Is there any way to specify the color of grid lines in a simple plot? par(color.tick.marks=c(grey)) plot(rnorm(10),tck=1) Thank you This is one approach: plot(rnorm(10)) # Now draw both axes axis(1, tck = 1, col = grey,

Re: [R] Can grid lines color in a plot be specified?

2004-10-01 Thread Marc Schwartz
On Fri, 2004-10-01 at 08:15, Marc Schwartz wrote: On Fri, 2004-10-01 at 07:44, Luis Rideau Cruz wrote: R-help Is there any way to specify the color of grid lines in a simple plot? par(color.tick.marks=c(grey)) plot(rnorm(10),tck=1) Thank you Oknow that I have finished

RE: [R] Can grid lines color in a plot be specified?

2004-10-01 Thread davidr
, David L. Reiner Rho Trading 440 S LaSalle Suite 620 Chicago IL 60605 312-362-4963 -Original Message- From: Marc Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 8:16 AM To: Luis Rideau Cruz Cc: R-Help Subject: Re: [R] Can grid lines color in a plot be specified

RE: [R] Can grid lines color in a plot be specified?

2004-10-01 Thread Marc Schwartz
On Fri, 2004-10-01 at 09:31, [EMAIL PROTECTED] wrote: I usually use something like abline(h=seq(...),col=green) abline(v=seq(...),col=green) This allows you to have irregularly spaced grid lines if you want. (Say for futures expiration dates in my case.) Also, as Marc pointed out, you