Re: [R] plotting with varying dot sizes

2009-12-11 Thread servet ahmet çizmeli
I think I located the problem. the data frame associated with my spatial object (Insitu_sp) contains some NAs. And in this case, the function plot does not like NAs. It simply behaved strangely. The code below did the trick : idx = is.na(Insitu[,"SPM"]) ptsize = 0.35*(sqrt(Insitu[!idx,"SPM"])+1) p

Re: [R] plotting with varying dot sizes

2009-12-10 Thread Greg Snow
t.org] On Behalf Of servet ahmet çizmeli > Sent: Thursday, December 10, 2009 6:18 AM > To: r-help@r-project.org > Subject: [R] plotting with varying dot sizes > > Dear all, > > I am trying to plot on a spatial map the punctual measurements of the > data > located in t

[R] plotting with varying dot sizes

2009-12-10 Thread servet ahmet çizmeli
Dear all, I am trying to plot on a spatial map the punctual measurements of the data located in the file (https://opengeo.metu.edu.tr/test.csv). I'd like to have the dots in some way proportional to the magnitudes of the measurements. I have difficulties with the code given below: The dot sizes