Skip to content
Prev 131512 / 398502 Next

How can I plot this graph

Try this:

matplot(xxx[,1], xxx[2:4], type = "l")
with(xxx, {
	segments(x, z1, x, z2)
	points(x, z1)
	points(x, z2)
})

Omit the two points commands if you don't want circles at the ends of
the segments.
On Dec 6, 2007 6:30 PM, David Rees <davidrees1 at yahoo.co.uk> wrote: