Displaying 1 result from an estimated 1 matches for "d_poli".
Did you mean:
d_poly
2011 Oct 04
1
Plotting a polygon with xyplot
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")
# set size of the window
windows(height=7, width=10,rescale=c("fixed"))