<p dir="ltr">Hi Zhang,</p>
<p dir="ltr">You could add a field to an existing structure variable produced by either ft_timelockanalysis or freqanalysis. Let's say you call it "real". This field should has to contain at least a 2d matrix with the order channel_time. You could also make a dummy variable that looks like this.</p>

<p dir="ltr">When calling ft_topoplotER or ft_topoplotTFR you should then use cfg.zparam = 'real'. </p>
<p dir="ltr">Alternatively you can replace the data in the .pospctrm  (for freq data) or .avg field ( for timelockdata ) with your data and use the default cfg.zparam when calling the plotting function.</p>
<p dir="ltr">Hope this helps!</p>
<p dir="ltr">Hanneke<br></p>
<div class="gmail_quote">Op 14 dec. 2012 04:16 schreef "Rui-huai Zhang" <<a href="mailto:zrhzrh@mail.ustc.edu.cn">zrhzrh@mail.ustc.edu.cn</a>> het volgende:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br>Hi, All!<span></span><div><br></div><div>   I wanna know how to make a topoplot that the value of each channel is made by a custom function? In another word: I got a real value of each channel, and how could I make a topographic map?</div>
<div><br></div><div>Thanks!</div><br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div>