Hello All, I need to indicate a range on a plot. It would be best as a filled rectangular region. Do functions exist to draw filled boxes on a plot? Thanks, John. -- -------------------------------------------------------------------------- Dr. John Janmaat Department of Economics, Acadia University, Wolfville, NS, B4P 2R6 E-mail: jjanmaat at acadiau.ca Web: http://ace.acadiau.ca/~jjanmaat Tel: 902-585-1461 Fax: 902-585-1070
Dear John See ?polygon. I hope that this helps, John At 10:20 AM 3/17/2003 -0400, you wrote:>Hello All, > >I need to indicate a range on a plot. It would be best as a filled >rectangular region. Do functions exist to draw filled boxes on a plot? > >Thanks, > >John. >-- >-------------------------------------------------------------------------- >Dr. John Janmaat >Department of Economics, Acadia University, Wolfville, NS, B4P 2R6 >E-mail: jjanmaat at acadiau.ca Web: http://ace.acadiau.ca/~jjanmaat >Tel: 902-585-1461 Fax: 902-585-1070 > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo/r-help----------------------------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: jfox at mcmaster.ca phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox -----------------------------------------------------
All responders, Polygon works great, thanks. John. John Fox wrote:> Dear John > > See ?polygon. > > I hope that this helps, > John > > At 10:20 AM 3/17/2003 -0400, you wrote: > >> Hello All, >> >> I need to indicate a range on a plot. It would be best as a filled >> rectangular region. Do functions exist to draw filled boxes on a plot? >> >> Thanks, >> >> John. >> -- >> -------------------------------------------------------------------------- >> >> Dr. John Janmaat >> Department of Economics, Acadia University, Wolfville, NS, B4P 2R6 >> E-mail: jjanmaat at acadiau.ca Web: http://ace.acadiau.ca/~jjanmaat >> Tel: 902-585-1461 Fax: 902-585-1070 >> >> ______________________________________________ >> R-help at stat.math.ethz.ch mailing list >> https://www.stat.math.ethz.ch/mailman/listinfo/r-help > > > ----------------------------------------------------- > John Fox > Department of Sociology > McMaster University > Hamilton, Ontario, Canada L8S 4M4 > email: jfox at mcmaster.ca > phone: 905-525-9140x23604 > web: www.socsci.mcmaster.ca/jfox > ----------------------------------------------------- > >-- -------------------------------------------------------------------------- Dr. John Janmaat Department of Economics, Acadia University, Wolfville, NS, B4P 2R6 E-mail: jjanmaat at acadiau.ca Web: http://ace.acadiau.ca/~jjanmaat Tel: 902-585-1461 Fax: 902-585-1070