source data on inflated surface

Till Schneider t.schneider at UKE.UNI-HAMBURG.DE
Wed Jun 20 09:44:39 CEST 2007


Hi Ingrid,

thanks a lot,
 this works fine.

Till

Ingrid Nieuwenhuis schrieb:
> Hi Till,
>
> I think the error is caused because the cfg is not specified correctly. If
> you want to plot onto an inflated surface you have to specify both
> cfg.surffile and cfg.surfinflated. In your case it could be:
>
> cfg.surffile = 'surface_wm_both.mat';
> cfg.surfinflated = 'surface_wminf_both.mat';
>
> The first is used to interpolate the functional data onto, the second is
> used for plotting. You can't use the 'surface_l4_both.mat' because there is
> no matching surface file with that one.
>
> Hope this helps,
> Ingrid
>
> -----Original Message-----
> From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
> Of Till Schneider
> Sent: Monday, June 18, 2007 1:45 PM
> To: FIELDTRIP at NIC.SURFNET.NL
> Subject: [FIELDTRIP] source data on inflated surface
>
> Hi,
>
> I  was trying to project source data to an inflated surface, but 
> consistently got the error message:Color Data is not set for 
> interpolated shading. The plot of the surface looks fine so far, but no 
> functional data is plotted.I used the following config with the 
> fieldtrip version 20070617:
>
> figure
> cfg = [];
> cfg.anaparameter = 'anatomy';
> cfg.funparameter = funparameter;
> cfg.maskparameter = maskparameter;
> cfg.method = 'surface';
> cfg.projmethod = 'nearest';
> cfg.surfinflated = 'surface_l4_both.mat';
> cfg.funcolorlim = 'zeromax';
> cfg = sourceplot(cfg, sourceInterp);
>
> Has anyone experience with this error?
> Best,
> Till
>
>
>
>   

-- 
Till Schneider, Dipl.Psych.

Universitaetsklinikum Hamburg-Eppendorf
Institut fuer Neurophysiologie
und Pathophysiologie
Martinistr. 52
20246 Hamburg
Germany

tel +49-40-42803-3188
fax +49-40-42803-7752
mobil +49-178-2834030



-- 
Pflichtangaben gemäß Gesetz über elektronische Handelsregister und Genossenschaftsregister sowie das Unternehmensregister (EHUG):

Universitätsklinikum Hamburg-Eppendorf
Körperschaft des öffentlichen Rechts
Gerichtsstand: Hamburg

Vorstandsmitglieder:
Prof. Dr. Jörg F. Debatin (Vorsitzender)
Dr. Alexander Kirstein
Ricarda Klein
Prof. Dr. Dr. Uwe Koch-Gromus


More information about the fieldtrip mailing list