| 1 | initial version |
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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.