[R] negative and positive values in diff. colors

Rado Bonk rbonk at host.sk
Thu Nov 7 19:15:11 CET 2002

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,


Radoslav Bonk M.S.
Dept. of Physical Geography and Geoecology
Faculty of Sciences, Comenius University
Mlynska Dolina 842 15, Bratislava, SLOVAKIA
tel: +421 2 602 96 250 e-mail: rbonk at host.sk
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list