[R] shade area between 'ablines'

threshold r.kozarski at gmail.com
Mon Sep 13 14:45:33 CEST 2010



Hi, want to shade the area between dotted lines:

x=c(1,5);y=c(1,5)
plot(y~x, type='n')
abline(v=c(2,3), lty=2)

sometnig simple needed. tried with polygon.... 

thx, robert
-- 
View this message in context: http://r.789695.n4.nabble.com/shade-area-between-ablines-tp2537352p2537352.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list