networking - Plot 2D topographic map of EEG node network on MATLAB -


i plot topographic map eeg network. electrodes (nodes) have associated networks metric , these values want interpolate between them , plot in head shape. here code have reseached , result getting...

=========================================

%the position x , y integers (electrodes position) , value of z (network metric)  x = [36 51  66  11  22  51  79  91  3   16  51  86  99  1   14  51  88  101 3   16  51  86  99  11  22  51  79  91  36  51  66];  y = [99 101 99  80  85  87  85  80  66  69  70  69  66  51  51  51  51  51  36  33  32  33  36  22  17  15  17  22  3   1   3];  z = [-404   -566    -379    -71 -102    -119    -87 9   -62 -160    -104    -81 -26 12  -120    -176    -85 -13 0   -118    -288    -159    -36 -115    -145    -292    -215    -266    -235    -364    -192];  %making meshgrid  dd = 1:31        i(xd(dd),yd(dd))=zd(dd);     end   zd = [zd; zeros(70,1)];  xd = [xd; zeros(70,1)];  yd = [yd; zeros(70,1)];  [xx,yy] = meshgrid(1:101,1:101);  z = griddata(xd,yd,zd,xx,yy,'cubic');  contourf(z) 

=========================================

the resulting plot of code is

http://s16.postimg.org/s7a627s5h/graph.jpg

i remove "tail" graph , sugggestion of how draw head + nose on same picture (only if possible plot kind of graph).

i don't have enough reputation comment above can set own custom locations in eeglab far remember. have looked @ function writelocs? maybe helps. eeglab's topoplots include nose , ears.

http://sccn.ucsd.edu/eeglab/allfunctions/writelocs.html


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -