[Rd] Wishlist: axis( ) could take vector of colors (PR#7930)

From: <epurdom_at_stanford.edu>
Date: Fri 10 Jun 2005 - 21:52:33 GMT


Hi,
This is not a bug, but a simple enhancement suggestion: that axis( ) also allow option "col" to take a vector of colors equal to the length of "labels". Currently it allows it, in the sense that there is no error message, but the function will use just the first element of the vector.

Example
> plot(1:5,exp(1:5),axes=F,type="o")
> axis(1,col=c(rep("red",2),rep("blue",3)))
gives all red axis notation.

Thanks,
Elizabeth Purdom
(Windows XP, R 2.1.0)



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Jun 11 07:56:40 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:09 GMT