Skip to content
Prev 25062 / 398502 Next

negative and positive values in diff. colors

Hi R-users,

I have a set of elevation residuals as geodata points. I would like to
display them in the following way:
-negative values using pch=20 (filled circle)
-positive values using pch=1  (empty circle)

while using the cex.max=5, cex.min=0.1 for points() to represent the
residuals value. Basically I would like to distinguish neagtive and
positive values at my map. How to do this.

Thanks in advance,

Rado