<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I am trying to plot scalp maps using pop_erspparams but instead of just plotting one specific time and/or frequency, I’d like to do a range for each. Following what it says in the pop_erspparams description (see below), I entered a range
for ‘Plot scalp map at time’ (topotime) and ‘Plot scalp map at freq’ (topofreqs) but keep getting the following error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222;background:white">??? Operands to the || and && operators must be convertible to logical scalar values.</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><br>
<br>
<span style="background:white">Error in ==> std_erspplot at 187</span><br>
<span style="background:white">if isempty(opt.plottf) && ~isempty(params.topofreq) && ~isempty(params.topotime) && ~isnan(params.topofreq) &&</span><br>
<span style="background:white">~isnan(params.topotime)</span><br>
<br>
<span style="background:white">Error in ==> pop_chanplot at 266</span><br>
<span style="background:white"> eval(a); STUDY.history = sprintf('%s\n%s', STUDY.history, a);</span><br>
<span style="background:white"> </span><br>
<span style="background:white">??? Error while evaluating uicontrol Callback<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have searched and don’t see a previous email or other description of this problem.
<o:p></o:p></p>
<p class="MsoNormal">Any advice appreciated,<o:p></o:p></p>
<p class="MsoNormal">Alyson Abel<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">pop_erspparams description: <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">% 'topotime' - [float] plot scalp map at specific time. A time range may<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">% also be provide and the ERSP will be averaged over the<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">% given time range. Requires 'topofreq' below to be set.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">% 'topofreqs' - [float] plot scalp map at specific frequencies. As above<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">% a frequency range may also be provided.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">------------------------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoNormal">Alyson D. Abel, Ph.D.<o:p></o:p></p>
<p class="MsoNormal">Research Scientist<o:p></o:p></p>
<p class="MsoNormal">Callier Center for Communication Disorders<o:p></o:p></p>
<p class="MsoNormal">1966 Inwood Rd.<o:p></o:p></p>
<p class="MsoNormal">Dallas, TX 75235<o:p></o:p></p>
<p class="MsoNormal">214-905-3156<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>