Skip to content
Prev 33989 / 398513 Next

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.