Hey Haiting,<br><br>This is a very annoying Matlab OpenGL bug, please see the following FAQ on how to bypass it:<br><a href="http://fieldtrip.fcdonders.nl/faq/i_am_getting_strange_artifacts_in_figures_that_use_opacity" target="_blank">http://fieldtrip.fcdonders.nl/faq/i_am_getting_strange_artifacts_in_figures_that_use_opacity</a><br>
<br>In your case, you could try the second option mentioned, it should look fine:<br>cfg.maskstyle = 'saturation'<br><br>Best,<br>Roemer<br><br><br><br><div class="gmail_quote">On Wed, May 16, 2012 at 2:47 PM, Roemer van der Meij <span dir="ltr"><<a href="mailto:roemer.van.der.meij@gmail.com" target="_blank">roemer.van.der.meij@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Haiting,<br><br>This is a very annoying Matlab OpenGL bug, please see the following FAQ on how to bypass it:<br><a href="http://fieldtrip.fcdonders.nl/faq/i_am_getting_strange_artifacts_in_figures_that_use_opacity" target="_blank">http://fieldtrip.fcdonders.nl/faq/i_am_getting_strange_artifacts_in_figures_that_use_opacity</a><br>
<br>In your case, you could try the second option mentioned, it should look fine:<br>cfg.maskstyle = 'saturation'<br><br>Best,<br>Roemer<br><br><br><div class="gmail_quote"><div><div class="h5">On Wed, May 16, 2012 at 1:25 PM, Haiteng Jiang <span dir="ltr"><<a href="mailto:haiteng.jiang@gmail.com" target="_blank">haiteng.jiang@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div>Hi Fieldtripers,</div><div><br></div><div> I try to plot the TRP map using ft_singleplotTFR, but the colour map cannot display negative value. My code likes this:</div>
<div><br></div><div><div>cfg = [];</div><div>
cfg.baseline = [-0.3 -0.1]; </div><div>cfg.baselinetype = 'absolute';</div><div>cfg.channelname = {'MLP','MRP','MLO','MRO'};</div><div>figure; ft_singleplotTFR(cfg, TFR);</div></div>
<div> </div><div>I attach one example I plotted. Does anyone know how to solve it ? I think maybe this is a bug. Thanks in advance !</div><div> </div>
<div> Best,</div><div> Haiteng</div><div> </div><div><br></div>-- <br><div><div>
<font face="arial, helvetica, sans-serif">Haiteng Jiang</font></div>
<div><font face="arial, helvetica, sans-serif">PhD candidate</font></div><div><font face="arial, helvetica, sans-serif">Neuronal Oscillations Group</font></div><div><font face="arial, helvetica, sans-serif">Donders Institute for Brain, Cognition and Behaviour</font></div>
<div><font face="arial, helvetica, sans-serif">Centre for Cognitive Neuroimaging</font></div><div><font face="arial, helvetica, sans-serif">Radboud University Nijmegen</font></div><div><span style="line-height:18px"><font face="arial, helvetica, sans-serif"><br>
</font></span></div><div><span style="line-height:18px"><font face="arial, helvetica, sans-serif">Visiting address</font></span></div><div><div style="text-align:left">
<div><span style="line-height:18px"><font face="arial, helvetica, sans-serif">Room 2.32</font></span></div><div><span style="line-height:18px"><font face="arial, helvetica, sans-serif">Donders Centre for Cognitive Neuroimaging</font></span></div>
<div><span style="line-height:18px"><font face="arial, helvetica, sans-serif">Kapittelweg 29</font></span></div><div><span style="line-height:18px"><font face="arial, helvetica, sans-serif">6525 EN Nijmegen</font></span></div>
<div><span style="line-height:18px"><font face="arial, helvetica, sans-serif">the Netherlands</font></span></div><div><span style="line-height:18px"><font face="arial, helvetica, sans-serif"><br></font></span></div></div>
</div><div><font face="arial, helvetica, sans-serif"> Tel.: <a href="tel:%2B31%20%280%29243668291" value="+31243668291" target="_blank">+31 (0)243668291</a></font></div></div><div><font face="arial, helvetica, sans-serif"> Web: <a href="https://sites.google.com/site/haitengjiang/" target="_blank">https://sites.google.com/site/haitengjiang/</a></font></div>
<br>
<br></div></div>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">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><br>
</blockquote></div><br><br clear="all"><br>-- <br><font size="3"><font color="darkblue"><font face="calibri">Roemer
van der Meij M.Sc.<br>
PhD student<br>
Donders Institute for Brain, Cognition and Behaviour<br>
Centre for Cognition<br>
P.O. Box 9104<br>
6500 HE Nijmegen<br>
The Netherlands<br>
Tel: +31(0)24 3655932<br>
E-mail: <a href="mailto:r.vandermeij@donders.ru.nl" target="_blank">r.vandermeij@donders.ru.nl</a></font></font></font><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><br>