Skip to content
Prev 78225 / 398502 Next

plot question when type = "b" and pch is a vector

Dear tokas,

How about:

x <- seq(0.01, 10, length = 20)
xx <- x[7]
x[7] <- NA

plot(c(0, 10), c(-20, 20), type = "n", xlab = "x", 
        ylab = expression(2 * alpha * log(x)))
for(i in 1:4){
    lines(x, 2 * i * log(x), lty = 1)
    text(xx,  2 * i * log(xx), i)     
    }

I hope this helps,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
--------------------------------