# Revision history [back]

It seems that the set of points on the right half are in S.get_paths()[1]. So

s = S.get_paths()[1]
w = s.vertices
xvals1 = w[:,0]
yvals1 = w[:,1]


should do the job.

Not sure if other "connected components" would appear as subsequent elements of S.get_paths() but it seems likely.