Skip to content
Prev 139276 / 398506 Next

hello! i need help for a specific graphic issue

I don't think that you're actually creating a
scatterplot if the x-axis is a factor.  You're getting
a boxplot.

If you want a scatterplot then something like this
might work.
======================================================

means<-c(4,6,8)
stand.error<-c(0.1,0.3,0.5)

aa <- factor(c("A","B","C","A", "C", "C"))
dd <- 1:length(levels(aa))

plot(dd, means, xaxt="n") 
arrows(dd, means + stand.error, dd, means-stand.error,
          code=3, angle=90)
axis(1, at=dd, labels=levels(aa))

=======================================================
--- Giacomo Prodi <bonoricus at yahoo.it> wrote: