<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dear Mante,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">As a further clarification, if not specified in the configuration as mentioned by Joern, FieldTrip uses the default Matlab colormap which indeed is Parula (yellow-greenish)
as opposed to Jet from MatLab 2014a onwards.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jim<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> fieldtrip-bounces@science.ru.nl [mailto:fieldtrip-bounces@science.ru.nl]
<b>On Behalf Of </b>Jörn M. Horschig<br>
<b>Sent:</b> donderdag 4 juni 2015 8:57<br>
<b>To:</b> 'FieldTrip discussion list'<br>
<b>Subject:</b> Re: [FieldTrip] no red color for ft_multiplotTFR<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dear Mante,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">most likely you are using a Matlab version >2014a. Mathwork changed the default colormap to Parula instead of Jet, see:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a href="http://blogs.mathworks.com/steve/2014/10/13/a-new-colormap-for-matlab-part-1-introduction/">http://blogs.mathworks.com/steve/2014/10/13/a-new-colormap-for-matlab-part-1-introduction/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You can change the colormap by using the ‘colormap’ command in Matlab, or if I recall correctly, also set cfg.colormap= ‘jet’ (which is doing the same within
the ft_ function)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jörn<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#626264;mso-fareast-language:NL">--<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#255A9E;mso-fareast-language:NL"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#255A9E;mso-fareast-language:NL">Jörn M. Horschig</span></b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#626264;mso-fareast-language:NL">,
Software Engineer</span><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:NL"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="NL" style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#626264;mso-fareast-language:NL"><a href="http://www.artinis.com/"><span lang="EN-US" style="color:#626264">Artinis Medical Systems</span></a></span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#626264;mso-fareast-language:NL">
| +31 481 350 980 </span><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#255A9E;mso-fareast-language:NL"><o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">
<a href="mailto:fieldtrip-bounces@science.ru.nl">fieldtrip-bounces@science.ru.nl</a> [<a href="mailto:fieldtrip-bounces@science.ru.nl">mailto:fieldtrip-bounces@science.ru.nl</a>]
<b>On Behalf Of </b>NIEUWLAND Mante<br>
<b>Sent:</b> Wednesday, June 3, 2015 10:38 PM<br>
<b>To:</b> <a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a><br>
<b>Subject:</b> [FieldTrip] no red color for ft_multiplotTFR<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">Dear all,<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">I’m new to Fieldtrip, so I hope this question isn’t too stupid :-D. I could not find anything relevant on the previous threads.<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">When I use the multiplotTFR function (example code pasted below), the hot color is always yellow and never red, even if I set the zlim to extremely small
values). <o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">I am using fieldtrip-20150504. What am I doing wrong? I thought the red-blue hot-cold colors were standard. Any help is really appreciated!<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">Cheers,<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">Mante<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg = [];<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.layout =
</span><span style="font-size:7.5pt;font-family:Courier;color:#B245F3">'config/biosemi64.lay'</span><span style="font-size:7.5pt;font-family:Courier;color:black">;</span><span style="font-size:7.5pt;font-family:Courier;color:#B245F3"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.channel =
</span><span style="font-size:7.5pt;font-family:Courier;color:#B245F3">'all'</span><span style="font-size:7.5pt;font-family:Courier;color:black">;<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.baseline =
</span><span style="font-size:7.5pt;font-family:Courier;color:#B245F3">'no'</span><span style="font-size:7.5pt;font-family:Courier;color:black">;<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.xlim = [0 2];</span><span style="font-size:7.5pt;font-family:Courier;color:#25992D">%[-0.5 1.5];%</span><span style="font-size:7.5pt;font-family:Courier;color:black"><o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.ylim = [30 100];<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.zlim = [-0.1 0.1];<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.interactive =
</span><span style="font-size:7.5pt;font-family:Courier;color:#B245F3">'yes'</span><span style="font-size:7.5pt;font-family:Courier;color:black">;<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.showlabels =
</span><span style="font-size:7.5pt;font-family:Courier;color:#B245F3">'yes'</span><span style="font-size:7.5pt;font-family:Courier;color:black">;<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">cfg.colorbar =
</span><span style="font-size:7.5pt;font-family:Courier;color:#B245F3">'yes'</span><span style="font-size:7.5pt;font-family:Courier;color:black">;<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;min-height: 12px"><span style="font-size:7.5pt;font-family:Courier;color:black"> <o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">figure;<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:7.5pt;font-family:Courier;color:black">ft_multiplotTFR(cfg, grandavg_hi_131_132);<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>