search for: thinkorthwim

Displaying 1 result from an estimated 1 matches for "thinkorthwim".

2009 Jan 13
1
Drawing Polygons with xyplot in lattice
...ries in Sub-Sarahan Africa. What I would now like to do is to add vertical bands (rectangles) that correspond to time-periods during which each of the 36 countries was at war, which would be different for each of the 36 panels. The effect I'd like to produce is similar that found here: http://thinkorthwim.com/2007/09/12/recession/ (but with 36 panels, each of which has a different period(s) shaded). I've done this successfully one plot at a time with the simple plot commmand (using polygon after having first drawn the line plot), but am having difficulty replicating it with xyplot. Here is som...