[R] specify point shape for ggplot (equivalent to pch)?

John Kane jrkrideau at yahoo.ca
Sat Dec 2 17:17:38 CET 2006


--- Rainer M Krug <RKrug at sun.ac.za> wrote:

> Hi
> 
> is it possible to specify the shape of the point to
> be used in ggplot 
> (as with pch in plot)? I couldn't find anything in
> the help.
> 
> Thanks
> 
> Rainer

I was looking for that the other day while just poking
around with ggplot and did not see it but I a very new
to R and to ggplot. 

However have a look at the function map_shape.  It
looks to me like this decides what points are used but
this is just a guess.




More information about the R-help mailing list