- Timestamp:
- Nov 8, 2019, 3:35:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r2746 r2747 14500 14500 polylabpos = polylabv[5].split(',') 14501 14501 if polylabpos[0] == 'c': 14502 xlabp = np. sum(vertices[:,0])14503 ylabp = np. sum(vertices[:,1])14502 xlabp = np.mean(vertices[:,0]) 14503 ylabp = np.mean(vertices[:,1]) 14504 14504 elif polylabpos[0] == 'vert': 14505 14505 iv = int(polylabpos[1]) … … 14527 14527 quit(-1) 14528 14528 14529 if polylabv[3] == 'normal': 14529 if polylabv[3] == 'normal': 14530 14530 plt.annotate(polylabv[0], xy=(xlabp,ylabp), xycoords='data', \ 14531 14531 color=polylabv[1], fontsize=polylabv[2], rotation=polylabv[4])
Note: See TracChangeset
for help on using the changeset viewer.