l Lacerda
> Sent: Tuesday, July 21, 2009 8:21 AM
> To: r-help@r-project.org
> Subject: [R] Background colour of axis
>
> Hi,
>
> I would like to be able to shade the background of part of an axis. To
> illustrate, consider the following code:
>
> par(xaxt="n&quo
Hi,
I would like to be able to shade the background of part of an axis. To
illustrate, consider the following code:
par(xaxt="n")
x=1:10
y=rnorm(10,0,1)
plot(x,y,type="l",xlab=NA)
mtext(text=LETTERS[1:10], side=1, at=1:10)
How can I make the background behind, say, "G H I" on the x-axis red? I h
2 matches
Mail list logo