[R] symbol size on a plot

About this list Date view Thread view Subject view Author view Attachment view

From: Philippe Hupé (Philippe.Hupe@curie.fr)
Date: Mon 30 Jun 2003 - 19:53:11 EST


Message-id: <3F000887.9020100@curie.fr>

Hi,

I would like to get from a plot the size of the symbols plotted.
Imagine I have the following plot function :
plot(1:2,1:2, pch=15, cex=4)
I would like the get the values SIZE1 and SIZE2 so that if I plot the
following rectangle :
rect(1.5,1.5, 1.5+SIZE1, 1.5+SIZE2) then the size of this square is
exactely the same as the one of the symbols that have been plotted.

Thanks for any idea.

-- 

--------------------------------------------------

Philippe Hupé Institut Curie - Equipe Bioinformatique 26, rue d'Ulm - 75005 PARIS France +33 (0)1 42 34 65 29

Philippe.Hupe@curie.fr <mailto:Philippe.Hupe@curie.fr>

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:09 EST