[R] sizing non-vector point shapes in ggplot2

hadley wickham h.wickham at gmail.com
Mon Jun 16 18:43:35 CEST 2008


> Thanks for getting back to me so quickly.  This mostly works, in that:
>
> - When I ran it just as you sent it, I get this error:
>     Error in inherits(x, "factor") : object "fill" not found

Oh yeah, that's a change in the development version.

> - but when I took out "fill = fill" from your suggestion above, I get the
> desired effect.
>
> - but this does not change the shape shown in the scale for the sized
> points.  they are still big circles.  but come to think of it, even setting
> shape = 20 or some other vector point-type, this doesn't effect the shape
> shown in the scale/legend thingy.  so I guess that's a separate question, I
> will post it under separate cover.

That's a bug that's fixed in my development version.  I can send you a
copy off list if you let me know what OS you're on, or you can wait
until I release the next version (hopefully early next week)

Hadley

-- 
http://had.co.nz/



More information about the R-help mailing list