Re: [R] Male and female symbols?

From: Prof Brian Ripley <>
Date: Sun 23 Oct 2005 - 01:14:15 EST

On Sat, 22 Oct 2005, George W. Gilchrist wrote:

> Does anyone have an idea of how one might plot male and female
> symbols on a graph using R? Thanks!

You don't tell us your platform and the answer depends on the platform.

They are Unicode points U+2642 and U+2640. So if your system supports it, something like text(x, y, "\u2642") will work, as will points(x, y, pch="\u2642").

Alternatively, look at the Hershey fonts, which have these and many other symbols (not necessarily of publication-quality though).

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Sun Oct 23 01:18:35 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 19:18:04 EST