Hi everyone,
here's the same patch as a new branch on GitHub.
http://github.com/kloesing/ggplot2/commit/a25e4fbfa4017ed1
Best,
--Karsten
On 6/7/10 3:39 PM, Karsten Loesing wrote:
> Hi Hadley and everyone,
>
> here's a patch for ggplot2 that fixes the behavior of
>
Hi William,
On 6/10/10 2:07 AM, William Dunlap wrote:
> I'm not sure exactly what you want in poly_ids, but
> if x is a vector of numbers that might contain NA's
> and you want a vector of integers that identify each
> run of non-NA's and are NA for each then you can get
> it with
> poly_id <-
Hi Paul,
On 6/9/10 1:12 AM, Paul Murrell wrote:
> grid.polygon() can do multiple polygons in a single call, but rather
> than using NA's to separate sub-polygons, it uses an 'id' argument (or
> an 'id.lengths' argument) to identify sub-polygons within the vectors of
> x- and y-values (see the exam
Hi Hadley and everyone,
here's a patch for ggplot2 that fixes the behavior of
opts(legend.position={left,top,bottom}). If you try the following code
in an unmodified ggplot2
options(warn = -1)
suppressPackageStartupMessages(library("ggplot2"))
data <- data.frame(
x = c(1, 2, 3, 4, 5, 6),
On 6/6/10 7:46 PM, Karsten Loesing wrote:
> Hi Hadley,
>
> On 5/31/10 9:51 PM, Hadley Wickham wrote:
>> There's no easy way to do this because behind the scenes geom_ribbon
>> uses grid.polygon.
>
> A possible workaround might be to have grid.polygon draw m
ably a stupid question: How do I tell R to use the cloned
ggplot2 sources instead of the installed ggplot2 package? As you can
see, I modified the installed package, but I'd rather work with Git here.
Thanks,
--Karsten
> On Sun, May 30, 2010 at 7:26 AM, Karsten Loesing
> wrote:
>&
Hi everyone,
it looks like geom_ribbon removes missing values and plots a single
ribbon over the whole interval of x values. However, I'd rather want it
to act like geom_line, that is, interrupt the ribbon for the interval of
missing values and continue once there are new values. Here's an example
7 matches
Mail list logo