comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: "Cluster" please help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: "Cluster" please help [message #53345] Mon, 09 April 2007 08:14
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Apr 6, 6:21 pm, "Dilku...@gmail.com" <Dilku...@gmail.com> wrote:
> Dear all,
> I cannot seem to get the cluster function to work. I know the data
> plays a big role in the computation.. but visually i see 3 clusters in
> the array. but it groups it into 1 cluster. ie there is nothing where
> result=1
>
> weights = CLUST_WTS(array, N_CLUSTERS = 3)
> result = CLUSTER(array, weights, N_CLUSTERS = 3)
> ;Plot each cluster using a different symbol:
> IPLOT, array[*, WHERE(result eq 0)], $
> LINESTYLE = 6, SYM_INDEX = 2
> IPLOT, array[*, WHERE(result eq 1)], /OVERPLOT, $
> LINESTYLE = 6, SYM_INDEX = 4
>
> please help
> thanks
> dilkushi

Without seeing the data, this is hard to troubleshoot. What does your
array look like? size(array)=?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: counting rows
Next Topic: Re: map_proj_init

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:58:50 PDT 2025

Total time taken to generate the page: 0.00552 seconds