[R] Graphics question
Bowden, J.M.
jmb56 at leicester.ac.uk
Thu Mar 2 16:41:30 CET 2006
Hi
I am trying to plot two points (with confidence intervals) on a graph to
illustrate the value of a particular quantity after 1 and 2 iterations
respectively.
I'm doing this by
plot(cycle,alpha[2,],main="",ylim=c(-8,-3),cex=2,col="red",pch=19,ylab=e
xpression(alpha),xlab="cycle")
Etc..
Where
> cycle
[1] 1 2
> alpha
[,1] [,2]
[1,] -6.227266 -5.762146
[2,] -5.200972 -5.010401
[3,] -4.174677 -4.258655
When I plot this I get the x-axis scale reading 1.0,1.1,1.2,...,2.0
I want to get it to read simply 1 2
Is there an easy way to do this?
More information about the R-help
mailing list