[Mne_analysis] Plotting vertex numbers on brain object?

Sheraz Khan, PhD sheraz at nmr.mgh.harvard.edu
Wed May 30 20:10:42 EDT 2018
Search archives:

Hi,

May be you are looking for text3d

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

HTH

Sheraz


>         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
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis


-------------------------
Sheraz Khan, M.Eng, Ph.D.
Instructor in Neurology

Athinoula A. Martinos Center for Biomedical Imaging
Massachusetts General Hospital
Harvard Medical School

McGovern Institute for Brain Research
Massachusetts Institute of Technology

Tel:   +1 617-643-5634
Fax:   +1 617-948-5966
Email: sheraz at nmr.mgh.harvard.edu
       sheraz at mit.edu
Web:   http://sheraz.mit.edu


More information about the Mne_analysis mailing list