Try this:
plot(x[,1], ylim=range(x[c(1,3)]), xaxt="n", xlab="", pch=16, col="blue")
points(x[,3], pch=16, col="red")
axis(1, at=1:nrow(x), labels=rownames(x), las=2)
segments(1:nrow(x), x[,1]-x[,2], 1:nrow(x), x[,1]+x[,2], col="blue")
segments(1:nrow(x), x[,3]-x[,4], 1:nrow(x), x[,3]+x[,4], col="r
Henrique Dallazuanna schrieb:
Perhaps:
plot(x[c(1,3)], pch=16)
segments(x[,1],x[,3]-x[,2], x[,1], x[,3]+x[,4], col="red")
On 21/02/2008, Paul Hammer <[EMAIL PROTECTED]> wrote:
hi members,
i try to plot two columns of a matrix as points with standard deviation.
a legend should also be th
Perhaps:
plot(x[c(1,3)], pch=16)
segments(x[,1],x[,3]-x[,2], x[,1], x[,3]+x[,4], col="red")
On 21/02/2008, Paul Hammer <[EMAIL PROTECTED]> wrote:
> hi members,
>
> i try to plot two columns of a matrix as points with standard deviation.
> a legend should also be there. the one points should be
3 matches
Mail list logo