Re: [R] Male and female symbols?

From: Ted Harding <Ted.Harding_at_nessie.mcc.ac.uk>
Date: Sun 23 Oct 2005 - 00:58:11 EST


On 22-Oct-05 George W. Gilchrist wrote:
> Does anyone have an idea of how one might plot male and female
> symbols on a graph using R? Thanks!

Groping for an answer to this, I was led to run

  demo(Hershey)

and the screen "Special Escape Sequences" showed appropriate symbols at

  \\VE

and

  \\MA

Maybe you can develop this for your needs.

(However, perhaps if you use these you should maintain a certain distance between the male and female symbols, or you might get a lot of noisy little subscripts ... ).

George's query somewhat leads on to a more general question: Can one define one's own symbols for plotting?

For example -- though I'm not seriously saying I need this -- in a population study of faxes and rabbits surveyed over several years, one might wish to plot the Rabbit population using tiny rabbits as points, and foxes' heads for the Fox population.

(Given the data coordinates, I would have my own ways to do this; but not in R).

Best wishes,
Ted.



E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861
Date: 22-Oct-05                                       Time: 15:55:41
------------------------------ XFMail ------------------------------

______________________________________________
R-help@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 Received on Sun Oct 23 01:09:21 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:46 EST