David Rees wrote:
> ...
> What I need is the following
> 
> - One graph 
> - y1, y2, y3 plotted as seperate lines vs x
> - z1, z2 give the range of the value of z, and need to be plotted as error 
> bars or confidence intervals vs x
> 
This doesn't look right to me, but it might give you a start:

library(plotrix)
brkdn.plot(c("y1","y2","y3"),NA,"x",xxx,
  dispbar=FALSE,col=2:4,ylim=c(-3,10))
dispbars(xxx$x,xxx$y1,xxx$z1,col=2)
dispbars(xxx$x-0.12,xxx$y2,xxx$z2,col=3)

Jim

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to