Rainer M Krug
2006-Dec-01 09:46 UTC
[R] specify point shape for ggplot (equivalent to pch)?
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
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa
Tel: +27 - (0)72 808 2975 (w)
Fax: +27 - (0)86 516 2782
Fax: +27 - (0)21 808 3304 (w)
Cell: +27 - (0)83 9479 042
email: RKrug at sun.ac.za
Rainer at krugs.de
--- 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 > > RainerI 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.
Gabor Grothendieck
2006-Dec-02 16:29 UTC
[R] specify point shape for ggplot (equivalent to pch)?
See the last example in ?qplot On 12/1/06, 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 > > -- > Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation > Biology (UCT) > > Department of Conservation Ecology and Entomology > University of Stellenbosch > Matieland 7602 > South Africa > > Tel: +27 - (0)72 808 2975 (w) > Fax: +27 - (0)86 516 2782 > Fax: +27 - (0)21 808 3304 (w) > Cell: +27 - (0)83 9479 042 > > email: RKrug at sun.ac.za > Rainer at krugs.de > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >