Skip to content

plot mixed variables

2 messages · Juliet Ndukum, Sarah Goslee

#
plot(xx1, yy, ylim = c(-13.5, 4), col="blue", xaxt="n")
axis(1, at=c(1, 2), labels=c("C", "D"))

Defining your own axes with axis() offers a great deal of flexibility.

And thank you for providing a small reproducible example.

Sarah
On Mon, Dec 5, 2011 at 5:43 PM, Juliet Ndukum <jpntsang at yahoo.com> wrote: