Re: Regarding the Fit_Ellipse Program [message #59018 is a reply to message #58930] |
Thu, 28 February 2008 05:46   |
plim.dreaming
Messages: 22 Registered: February 2008
|
Junior Member |
|
|
> May ask again what are your staring points, before you do the contour?
> How are these points defind? I have this feeling that there may be a
> much
> simpler way...
>
> Paolo
Hi Paolo and David,
Hummm, well, before I do the contour I just have a square field full
of points, so a big array of x,y (this is input data, I do not choose
the locations of these points, i read them in from a file), and to
each point I have a density-value attributed, rho. The points are not
in a matrix, they are randomly distributed in the field, so I do a:
contour,rho,x,y,levels=level,triangulation=tri,path_xy=polic ons2,path_info=infocons2,/
path_data_coords,/path_doublt,/noerase,/data
That provides me with the xy positions of the vertices of several
different contours in the field all of which have the same density
level. For each contour I want to fit and plot an ellipse and obtain
the parameters.
Hope this helps,
Bruno
|
|
|