Re: [R] Plotting a polygon with xyplot

2011-10-04 Thread Bert Gunter
?? Use the appropriate panel function, not panel.xyplot(). If you don't know what this means, you need to read up on lattice/trellis graphics. ?panel.polygon -- Bert On Tue, Oct 4, 2011 at 7:14 AM, Ken Knoblauch wrote: > markm0705 gmail.com> writes: > > I would like to plot a string of points

Re: [R] Plotting a polygon with xyplot

2011-10-04 Thread Ken Knoblauch
markm0705 gmail.com> writes: > I would like to plot a string of points as a polygon in xyplot. I'm a bit > lost as to how to get the points plotting in the correct order. I would > also like some hints on how to render or fill the polygon. > > Scrpt below and data file attached > > Thanks > >

[R] Plotting a polygon with xyplot

2011-10-04 Thread markm0705
Dear R helpers I would like to plot a string of points as a polygon in xyplot. I'm a bit lost as to how to get the points plotting in the correct order. I would also like some hints on how to render or fill the polygon. Scrpt below and data file attached Thanks Markm library("lattice") # se