<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><base href="x-msg://10486/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Alyson,<div><br></div><div>this issue was fixed some time ago. Download the latest revision of EEGLAB (13.1.1) or simply replace the following function.</div><div><br></div><div><a href="https://sccn.ucsd.edu/svn/software/eeglab/functions/studyfunc/std_erspplot.m">https://sccn.ucsd.edu/svn/software/eeglab/functions/studyfunc/std_erspplot.m</a></div><div><br></div><div>Best,</div><div><br></div><div>Arno</div><div><br></div><div><div><div>On Jan 13, 2014, at 11:16 AM, "Abel, Alyson" <<a href="mailto:Alyson.Abel@utdallas.edu">Alyson.Abel@utdallas.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">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></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(34, 34, 34); background-color: white; background-position: initial initial; background-repeat: initial initial; ">??? Operands to the || and && operators must be convertible to logical scalar values.</span><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(34, 34, 34); "><br><br><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; ">Error in ==> std_erspplot at 187</span><br><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; ">if isempty(opt.plottf) && ~isempty(params.topofreq) && ~isempty(params.topotime) && ~isnan(params.topofreq) &&</span><br><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; ">~isnan(params.topotime)</span><br><br><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; ">Error in ==> pop_chanplot at 266</span><br><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; ">            eval(a); STUDY.history =  sprintf('%s\n%s',  STUDY.history, a);</span><br><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; "> </span><br><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; ">??? Error while evaluating uicontrol Callback<o:p></o:p></span></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(34, 34, 34); background-color: white; background-position: initial initial; background-repeat: initial initial; "><o:p> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">I have searched and don’t see a previous email or other description of this problem.<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Any advice appreciated,<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Alyson Abel<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">pop_erspparams description:<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: 'Courier New'; ">%  'topotime'    - [float] plot scalp map at specific time. A time range may<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: 'Courier New'; ">%                  also be provide and the ERSP will be averaged over the<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: 'Courier New'; ">%                  given time range. Requires 'topofreq' below to be set.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: 'Courier New'; ">%  'topofreqs'   - [float] plot scalp map at specific frequencies. As above<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: 'Courier New'; ">%                  a frequency range may also be provided.<o:p></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">------------------------------------------------------------------------------------<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Alyson D. Abel, Ph.D.<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Research Scientist<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Callier Center for Communication Disorders<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">1966 Inwood Rd.<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Dallas, TX 75235<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">214-905-3156<o:p></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div></div>_______________________________________________<br>Eeglablist page:<span class="Apple-converted-space"> </span><a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" style="color: purple; text-decoration: underline; ">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" style="color: purple; text-decoration: underline; ">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-request@sccn.ucsd.edu" style="color: purple; text-decoration: underline; ">eeglablist-request@sccn.ucsd.edu</a></div></blockquote></div><br></div></body></html>