Hi all, quick question: is the optional command "width" effective in the geom_errorbarh() layer of ggplot? Cause I can't get it works on this graph http://www.4shared.com/file/116919103/93488d88/iso_2PrsH.html
pdf(file = "iso_2PrsH.pdf", width = 7, height = 7) NC60.iso.graph<-ggplot( NC60.DATA ,aes(Ce,Qe)) + geom_point(col=MaCouleur1, size=4) + geom_errorbar( aes(ymax = NC60.DATA$Qe+NC60.DATA$sdQe ,ymin=NC60.DATA$Qe-NC60.DATA$sdQe) ,colour=alpha("black",0.4) ,width=1) + geom_errorbarh( aes(xmax = NC60.DATA$Ce+NC60.DATA$sdCe ,xmin=NC60.DATA$Ce-NC60.DATA$sdCe) ,colour=alpha("black",0.4) ,width=1) + geom_line(data=NC60.Res4.curve ,aes(x,y) ,size=1 ,colour=alpha("black",0.5)) + xlab(C[e]~(mmol/m^3)) + ylab(q[e]~(mmol/m^3)) print(NC60.iso.graph) dev.off() Regards/Cordialement ------------- Benoit Boulinguiez Ph.D student Ecole de Chimie de Rennes (ENSCR) Bureau 1.20 Equipe CIP UMR CNRS 6226 "Sciences Chimiques de Rennes" Avenue du Général Leclerc CS 50837 35708 Rennes CEDEX 7 Tel 33 (0)2 23 23 80 83 Fax 33 (0)2 23 23 81 20 <http://www.ensc-rennes.fr/> http://www.ensc-rennes.fr/ [[alternative HTML version deleted]]
______________________________________________ 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.