[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Density from scattered points
- Subject: Density from scattered points
- From: Simon de Vet <sdevet(at)is2.dal.ca>
- Date: Fri, 25 May 2001 11:31:34 -0300
- Newsgroups: comp.lang.idl-pvwave
- Organization: NIDRT
- Reply-To: sdevet(at)is2.dal.ca
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:25091
Hello!
I have a set of 10,000 points, each with specific X and Y locations. Is
there an easy way to convert the discrete points into a density array
suitable for plotting with Contour, or for fitting a surface? I just
need a simple function to subdivide the region into squares, and assign
a density based on the number of points which fall within a particular
square.
I think I could probably write something from scratch, but it seems that
this is something that should be out there already...
Any ideas?
Simon