Back to the main page.

Bug 1527 - ft_sourceplot fails on a source structure with a single frequency

Status CLOSED FIXED
Reported 2012-06-13 15:00:00 +0200
Modified 2019-08-10 11:56:39 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2012-06-13 15:00:39 +0200

>> ft_sourceplot(cfg, source) the input is source data with 4275 positions not plotting anatomy no masking parameter voxel 1571, indices [13 8 6] location [5.0 0.0 4.0] cm 18.0 Hz value 0.000000 13 8 6 ??? Error using ==> set Bad property value found. Object Name : axes Property Name : 'XLim' Values must be increasing and non-NaN. Error in ==> axis>LocSetLimits at 208 set(ax,... Error in ==> axis at 94 LocSetLimits(ax(j),cur_arg); Error in ==> ft_sourceplot at 880 axis([data.freq(1) data.freq(end) fcolmin fcolmax]); The input is the source structure obtained from the coherence tutorial.


Robert Oostenveld - 2012-06-13 15:03:41 +0200

I have saved the source and cfg in /home/common/matlab/fieldtrip/data/test/bug1527.mat and I have made a test script to reproduce manzana> svn commit test/test_bug1527.m Adding test/test_bug1527.m Transmitting file data . Committed revision 6052.


Jan-Mathijs Schoffelen - 2012-07-17 09:08:21 +0200

fixed in revision 6269


Robert Oostenveld - 2019-08-10 11:56:39 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.