Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.61.0510221559130.5783@gannet.stats>
Date: 2005-10-22T15:14:15Z
From: Brian Ripley
Subject: Male and female symbols?
In-Reply-To: <2FED5980-3778-4A6E-9550-A07ECB4D7142@wm.edu>

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,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595