Re: [R] Coloring X and Y axis

2009-04-11 Thread Umesh Srinivasan
Hi Gundala, If you want your plotting axes to appear in colour, try par(fg = "red") # will colour all foreground stuff in red, including the axes. Cheers, Umesh On Sat, Apr 11, 2009 at 3:51 PM, Jim Lemon wrote: > Gundala Viswanath wrote: > >> Dear all, >> >> Is there a way to do it? >> >> Th

Re: [R] Coloring X and Y axis

2009-04-11 Thread Jim Lemon
Gundala Viswanath wrote: Dear all, Is there a way to do it? The following code: pdf("test.pdf") plot(1,1,col="red") dev.off() Only colors the plot into red, but not x and y axis (inclusive the tick marks). Hi Gundala, One easy way is to roll your own axes: plot(1,1,col="red")

Re: [R] Coloring X and Y axis

2009-04-10 Thread Uwe Ligges
Gundala Viswanath wrote: Dear all, Is there a way to do it? The following code: pdf("test.pdf") plot(1,1,col="red") dev.off() Only colors the plot into red, but not x and y axis (inclusive the tick marks). See ?par and arguments such as "fg", "col.axis", "col.lab" ... Uwe Ligges

Re: [R] Coloring X and Y axis

2009-04-10 Thread Bert Gunter
...@stat.math.ethz.ch Subject: [R] Coloring X and Y axis Dear all, Is there a way to do it? The following code: > pdf("test.pdf") > plot(1,1,col="red") > dev.off() Only colors the plot into red, but not x and y axis (inclusive the tick marks). - Gundala

[R] Coloring X and Y axis

2009-04-10 Thread Gundala Viswanath
Dear all, Is there a way to do it? The following code: > pdf("test.pdf") > plot(1,1,col="red") > dev.off() Only colors the plot into red, but not x and y axis (inclusive the tick marks). - Gundala Viswanath Jakarta - Indonesia __ R-help@r-project.