HI, Sorry Carl, I received your message in my spam folder. Sarah proposed me a good example of code. Thank you MomadouÂ
________________________________ De : Carl Witthoft [via R] <[email protected]> Envoyé le : Mardi 13 Décembre 2011 3h34 Objet : Re: Polygon Please read the posting guide and provide a (small) reproducible example of your data. The statement "...output does not seem good."  is not very useful. Please explain what you would like the polygon area to look like, and why you don't like the way it came out.  Links to posted images of the chart would help too. <quote> From: Komine <momadou_at_yahoo.fr> Date: Mon, 12 Dec 2011 06:58:56 -0800 (PST) Hi everybody, I have a matrix with 3 columns (Date, MeanArea and SdArea). I want to draw a figure showing the variable MeanArea in terms of the Date. But instead to use the variable SdArea as bar error, I want to use âpolygon errorâ. I use this code but the output does not seem good. Poly<read.table("C:\\Users\\Momadou\\Documents\\AreaMonthly.csv",sep=";",dec=",",header=TRUE) Poly y <-MeanArea x <-SdArea z <-Date matplot(x,cbind(y,z),type="n") polygon(c(x,rev(x)),c(y,rev(z)),col="grey50") Thank you in advance -- Sent from my Cray XK6 "Pendeo-navem mei anguillae plena est." ______________________________________________ [hidden email] 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. ________________________________ If you reply to this email, your message will be added to the discussion below: http://r.789695.n4.nabble.com/Polygon-tp4186283p4188375.html To unsubscribe from Polygon, click here. NAML -- View this message in context: http://r.789695.n4.nabble.com/Re-Polygon-tp4189471p4189471.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
______________________________________________ [email protected] 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.

