Back to the main page.
Bug 32 - topoplotTFR plotting
Status |
CLOSED FIXED |
Reported |
2010-01-29 09:24:00 +0100 |
Modified |
2010-10-13 10:26:53 +0200 |
Product: |
FieldTrip |
Component: |
core |
Version: |
unspecified |
Hardware: |
PC |
Operating System: |
Windows |
Importance: |
P5 normal |
Assigned to: |
Cristiano Micheli |
URL: |
|
Tags: |
|
Depends on: |
|
Blocks: |
|
See also: |
|
Cristiano Micheli - 2010-01-29 09:24:55 +0100
A problem with topoplotTFR when trying to plot with a newly created layout.
The routine plots some channels' tf analysis and then stops plotting and returns as many times as the remaining channels the message:
Warning: Dimensions of AlphaData must be 1x1, or must match CData.
> In axis>LocSetTight at 311
In axis at 102
In ft_multiplotTFR at 392
In multiplotTFR at 17
------------------------------------------------------
The code is:
tmp = load('pele_layout_realistic_common');
lay = tmp.layout;
cfg = [];
cfg.xparam = 'time';
cfg.yparam = 'freq';
cfg.zparam = 'powspctrm';
cfg.interactive = 'yes';
cfg.showlabels = 'yes';
cfg.label = 'yes';
cfg.layout = lay;
cfg.zlim = [-1 4];
cfg.baseline = [-1 -.0];
cfg.baselinetype = 'relative';
figure, multiplotTFR(cfg, TFRhannL);
I included in attachment the layout file and the TFRhannL data structure.