Back to the main page.

Bug 2900 - correction to ft_sourceplot sulci/gyri color

Status CLOSED FIXED
Reported 2015-05-25 12:38:00 +0200
Modified 2019-08-10 12:33:34 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Tzvetan Popov
URL:
Tags:
Depends on:
Blocks:
See also:

Philipp Ruhnau - 2015-05-25 12:38:20 +0200

there seems to be a typo in line 990 in ft_sourceplot my version states if isfield(surf, 'curv') % the curvature determines the color of gyri and sulci color = surf.curv(:) * cortex_light + (1-surf.curv(:)) * cortex_light; else color = repmat(cortex_light, size(surf.pnt,1), 1); end when the first should be cortex_dark (or vice versa), maybe introduced in a recent fix, here? http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2527


Philipp Ruhnau - 2015-06-25 16:45:56 +0200

hey y'all, this is really an easy fix, thus, please fix! line 990 in ft_sourceplot first *cortex_light* should be *cortex_dark* thanks


Tzvetan Popov - 2015-06-29 13:55:46 +0200

(In reply to Philipp Ruhnau from comment #1) Hi Philipp, yeah tnx will fix it. best tzvetan


Tzvetan Popov - 2015-06-29 14:09:40 +0200

svn commit ft_sourceplot.m -m 'bugfix- plot gyri and sulci in different shades of grey- see bug_2900' Sending ft_sourceplot.m Transmitting file data. Committed revision 10493.


Tzvetan Popov - 2016-02-24 09:21:35 +0100

svn commit ft_sourceplot.m -m 'bugfix- plot gyri and sulci in different shades of grey- see bug_2900' Sending ft_sourceplot.m Transmitting file data. Committed revision 10493.


Robert Oostenveld - 2019-08-10 12:33:34 +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 on https://github.com/fieldtrip/fieldtrip/issues.