NOCIONS / letswave6

Letswave 6 - Matlab EEG signal processing toolbox
www.nocions.org/letswave6
48 stars 30 forks source link

error when plotting topographies #163

Open LenaStroh opened 5 years ago

LenaStroh commented 5 years ago

Hi, I get the following error when I try to draw 3D headplots via the scalp map SSEP series creator:

**Index exceeds matrix dimensions.

Error in CLW_headplot (line 42) vector=vector(find(tp==1));

Error in GLW_figure_scalpmap_SSEP_series>headplot_btn_Callback (line 620) CLW_headplot(vector2,dataset.header,'maplimits',[cmin cmax]);

Error in gui_mainfcn (line 95) feval(varargin{:});

Error in GLW_figure_scalpmap_SSEP_series (line 24) gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GLW_figure_scalpmap_SSEP_series('headplot_btn_Callback',hObject,eventdata,guidata(hObject)) Error while evaluating UIControl Callback.**

I use letswave6 on ubuntu Plotting 2-D headplots works. Also, when I inspect the 3D headplot in the waveform multiviewer window, it seems to work fine. Any suggestions on how to fix his?

Best, Lena

amouraux commented 5 years ago

Hello, you first need to “Assign electrode coordinates” (in Edit Electrodes)

On 27 Nov 2018, at 23:42, LenaStroh notifications@github.com<mailto:notifications@github.com> wrote:

Hi, I get the following error when I try to draw 3D headplots via the scalp map SSEP series creator:

**Index exceeds matrix dimensions.

Error in CLW_headplot (line 42) vector=vector(find(tp==1));

Error in GLW_figure_scalpmap_SSEP_series>headplot_btn_Callback (line 620) CLW_headplot(vector2,dataset.header,'maplimits',[cmin cmax]);

Error in gui_mainfcn (line 95) feval(varargin{:});

Error in GLW_figure_scalpmap_SSEP_series (line 24) gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GLW_figure_scalpmap_SSEP_series('headplot_btn_Callback',hObject,eventdata,guidata(hObject)) Error while evaluating UIControl Callback.**

I use letswave6 on ubuntu Plotting 2-D headplots works. Also, when I inspect the 3D headplot in the waveform multiviewer window, it seems to work fine. Any suggestions on how to fix his?

Best, Lena

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/NOCIONS/letswave6/issues/163, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALJm8SCQggEfY9c_v-qdjPNmQnHaoLtWks5uzb_JgaJpZM4Y2fOW.

LenaStroh commented 5 years ago

Dear André, Thank you for your reply. I assigned the electrode coordinates right at the beginning: [image: grafik.png] also, when I check the header files, the chanlocs seems to be assigned: [image: grafik.png] Best, Lena

Am Mi., 28. Nov. 2018 um 06:57 Uhr schrieb André Mouraux < notifications@github.com>:

Hello, you first need to “Assign electrode coordinates” (in Edit Electrodes)

On 27 Nov 2018, at 23:42, LenaStroh <notifications@github.com<mailto: notifications@github.com>> wrote:

Hi, I get the following error when I try to draw 3D headplots via the scalp map SSEP series creator:

**Index exceeds matrix dimensions.

Error in CLW_headplot (line 42) vector=vector(find(tp==1));

Error in GLW_figure_scalpmap_SSEP_series>headplot_btn_Callback (line 620) CLW_headplot(vector2,dataset.header,'maplimits',[cmin cmax]);

Error in gui_mainfcn (line 95) feval(varargin{:});

Error in GLW_figure_scalpmap_SSEP_series (line 24) gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GLW_figure_scalpmap_SSEP_series('headplot_btn_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback.**

I use letswave6 on ubuntu Plotting 2-D headplots works. Also, when I inspect the 3D headplot in the waveform multiviewer window, it seems to work fine. Any suggestions on how to fix his?

Best, Lena

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/NOCIONS/letswave6/issues/163>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ALJm8SCQggEfY9c_v-qdjPNmQnHaoLtWks5uzb_JgaJpZM4Y2fOW>.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NOCIONS/letswave6/issues/163#issuecomment-442329629, or mute the thread https://github.com/notifications/unsubscribe-auth/ArTbtCtRW8aEoq-KyAUsjvvS33KCm867ks5uziXOgaJpZM4Y2fOW .

-- Anna-Lena Stroh

University of Hamburg Biological Psychology and Neuropsychology Von-Melle-Park 11 20146 Hamburg Germany

Phone: +49 (0)40 42838 2620 E-Mail: anna-lena.stroh@uni-hamburg.de https://webmail.rrz.uni-hamburg.de/imp/message.php?Horde=aae5d4cab7959ba355b448fc750b2955&mailbox=INBOX%2FGesendet&index=153#