[R] Coloring X and Y axis

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Apr 10 17:45:38 CEST 2009



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


> 
> 
> - Gundala Viswanath
> Jakarta - Indonesia
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list