Skip to main content
4 of 4
added 317 characters in body
MGK
  • 565
  • 3
  • 9

What is the best way to draw cluster for every station?

I have a binary matrix "X" of U rows and N columns. Each row of X has 1 to maximum 3 ones. Each row corresponds to a subscriber and every column corresponds to a service point. So, the ones in a given row corresponds to the service points that the subscriber can be served by.

How can I graphically show this association?

Lets say, we have 5 service points, randomly/systematically arranged over an area.

x-coordinates of the service points are {200, 600, 200, 600, 400}

y-coordinates of the service points are {200, 200, 600, 600, 400}

And we have 10 subscribers randomly distributed over the area with boundary points (0, 0), (0, 800), (800, 0) and (800, 800).

And the X matrix is given by

X = {{0, 0, 1, 0, 1}, {0, 1, 1, 0, 0}, {1, 0, 0, 1, 0}, {0, 0, 0, 1, 0}, 
     {1, 1, 0, 1, 0}, {0, 0, 1, 1, 0}, {0, 0, 1, 0, 1}, {0, 1, 0, 0, 1},
     {1, 1, 0, 0, 1}, {1, 1, 0, 0, 1}};

How to graphically show this connections?

Lets say, we call the set of service points associated with given users a clusters. So, different subscribers will have different clusters. I just want to see the relationship of different clusters for different users, for example, if two nearby subscribers have the same cluster or they have different clusters?

MGK
  • 565
  • 3
  • 9