R-listers:
I am summarizing input I got on a recent query about creating stacked,
colored line plots in xyplot.
The only input I got regarding xyplot was to use the polygon() command, but
this seemed to require some awkward data manipulation.
In contrast, I got several snippets of functional code
Jim Lemon wrote:
Seth W Bigelow wrote:
Ok, thanks to Carl Witthoft I now know that to color spaces between and
below a pair of lines in xyplot, I will need to redefine the lines as
polygons, and use the lpolygon panel function, as in the following
library(lattice)
p <- c(1,10,10,1) # ve
Seth W Bigelow wrote:
Ok, thanks to Carl Witthoft I now know that to color spaces between and
below a pair of lines in xyplot, I will need to redefine the lines as
polygons, and use the lpolygon panel function, as in the following
library(lattice)
p <- c(1,10,10,1) # vector of x values
q
Ok, thanks to Carl Witthoft I now know that to color spaces between and
below a pair of lines in xyplot, I will need to redefine the lines as
polygons, and use the lpolygon panel function, as in the following
library(lattice)
p <- c(1,10,10,1) # vector of x values
q <- c(4,29.2,16,2.5)
On Thu, Sep 18, 2008 at 5:14 PM, Seth W Bigelow <[EMAIL PROTECTED]> wrote:
>
> Greetings:
> I wish to create a stacked line graph in xyplot, adding color to the
> spaces between the lines. For example, the code below creates a plot with
> two lines extending across it, and I want to color the rhom
quote:
I wish to create a stacked line graph in xyplot, adding color to the
spaces between the lines. For example, the code below creates a plot
with two lines extending across it, and I want to color the rhomboid
that is between the upper and lower line, and between the lower line and
the bo
Greetings:
I wish to create a stacked line graph in xyplot, adding color to the
spaces between the lines. For example, the code below creates a plot with
two lines extending across it, and I want to color the rhomboid that is
between the upper and lower line, and between the lower line and the bo
7 matches
Mail list logo