Plotting vertex numbers on brain object?

External Email - Use Caution

Hi,

I'm plotting vertices as points on the brain using:

brain1 = Brain(...)
surf1 = brain1._geo

mlab.points3d(surf1.x[vertinds], surf1.y[vertinds], surf1.z[vertinds],...)

I'm wondering if there's a way to plot the value of 'vertinds' on the
brain object,

such that I know which vertex number corresponds to each point that's plotted?

Thanks and Best Regards,

Gladia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180530/4a5499a8/attachment.html

Hi,

May be you are looking for text3d

mlab.text3d(surf1.x[vertinds], surf1.y[vertinds], surf1.z[vertinds],
str(vertinds))

HTH

Sheraz