[R] Coloring X and Y axis

Bert Gunter gunter.berton at gene.com
Fri Apr 10 17:42:21 CEST 2009


plot(..., axes=FALSE)
axis(...)

?plot; ?axis 


Bert Gunter
Genentech Nonclinical Biostatistics
650-467-7374

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Gundala Viswanath
Sent: Friday, April 10, 2009 8:26 AM
To: r-help at 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 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