search for: lpolygon

Displaying 6 results from an estimated 6 matches for "lpolygon".

Did you mean: polygon
2006 Jun 07
1
Fw: Help needed using lattice for area plots lpolygon, xyplot.
I am trying to learn how to use the graphics from the lattice package ( and am very new to R). I am trying to replicate the example plot referenced below, by using the lattice xyplot & lpolygon to create panels. I get what appears to be the correct shape of the filled region, but cannot get the position to overlay properly. I have attempted with various settings of position. ( i.e. position = c(0,0,1,1) etc settings as well. I am not understanding something about the positioning...
2006 Jun 07
0
Help needed using lattice for area plots lpolygon, xyplot.
I am trying to learn how to use the graphics from the lattice package ( and am very new to R). I am trying to replicate the example plot referenced below, by using the lattice xyplot & lpolygon to create panels. I get what appears to be the correct shape of the filled region, but cannot get the position to overlay properly. I have attempted with various settings of position. ( i.e. position = c(0,0,1,1) etc settings as well. I am not understanding something about the positioning...
2007 Jul 24
3
Overlaying a single contour from a new data array in levelplot
Dear R-Help community, I am trying to overlay a single contour line over a correlation plot using levelplot in the lattice package. These are the two arrays: 1) a correlation plot over Africa - so each grid square is a different colour dependent on correlation - this is in an array: result_cor with dim[465,465] 2) a single contour line from a ***different data source*** - this is from data
2008 Feb 05
2
maps and lattice
Is it possible to place maps onto lattice plots? With basic plotting you can add a map to a plot library(lattice) long<-c(-69.2, -69.5, -70.1, -70.3) lat<-c(41, 41.5, 43.2, 42.8) plot(long, lat) map('state', c("massachusetts"),add=TRUE) but is it possible with lattice? library(lattice) factor<-c(1,1,2,2) xyplot(lat~long|fact) ...now what? I have looked at panel and
2010 Aug 08
3
Does anybody know how to control the appearance of the end of the line in lattice?
Hi All, I am plotting vertical lines using xyplot in lattice and type="h". It works well, but the problem is that the tops of the lines are convex and the bottoms are concave. Is there a way to flatten the tops and bottoms? Here's my code: Source<-matrix(1:30,10,3) colnames(Source)<-c("x","y1","y2") Source<-data.frame(Source) xyplot(y2+y1~x,
2002 Mar 10
1
lattice library: xyplot and polygons
Dear R-Helpers, Is there a way to draw shaded (filled) polygons in panel graphs produced by xyplot ? I made different trials (see below) with polygon() and grid.polygon() but polygons are not drawn (probably for the same reason that prevents the use of lines, points, etc. in xyplot panels). Thanks in advance, Renaud > Water id label longitude latitude 515 21 Zone inondable