The following works. No doubt there are other ways to do it.

plot(1:10, 1:10, xaxt="n")
axis(side=1, at=1:10, labels=NA)
text(x=1:10, y=rep(0, 10), col=1:10, 1:10, xpd=NA)


Regards,

Andrew C. Ward

CAPE Centre
Department of Chemical Engineering
The University of Queensland
Brisbane Qld 4072 Australia
[EMAIL PROTECTED]



Quoting "Wilkinson, Mark" <[EMAIL PROTECTED]>:

> Hi,
> 
> Is there a way to specify a vector of colors for the tick annotation in a
> call to axis(), to achieve the x-axis here?
> 
> 
>  <<Rplot003.png>> 
> 
> Thanks,
> 
> Mark Wilkinson
> Informatics Analyst
> St. Jude Children's Research Hospital
> Department of Pharmaceutical Sciences
> 
> The opinions expressed here are my own and do not necessarily represent
> those of St. Jude Children's Research Hospital.
> 
> 
>

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to