Skip to content
Back to formatted view

Raw Message

Message-ID: <3F000887.9020100@curie.fr>
Date: 2003-06-30T09:53:11Z
From: Philippe Hupé
Subject: symbol size on a plot

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 at curie.fr <mailto:Philippe.Hupe at curie.fr>