<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear Steve,
<div class=""><br class="">
</div>
<div class="">Thanks for reporting this. Given the current global circumstances I started â€™spring cleaning’ the open issues on github, which slipped off the radar before, due to more urgent matters. </div>
<div class=""><br class="">
</div>
<div class="">As it is, I encountered an issue submitted about a year ago, which reported the same thing. The suggested fix has never come through, but the person reporting the original issue mentioned that it seemed to work on their end these days. Hence I
 closed the issue. I reopened it again (issue #928 on <a href="http://github.com/fieldtrip/fieldtrip" class="">
https://github.com/fieldtrip/fieldtrip/issues/928</a>). Feel free to sign up there and chime in with additional insights, suggestions for a fix etc.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class=""><br class="">
</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
J.M.Schoffelen, MD PhD<br class="">
Associate PI, VIDI-fellow - PI, language in interaction<br class="">
Telephone: +31-24-3614793</div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Physical location: room 00.028</div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 20 Mar 2020, at 09:08, Stephen Politzer-Ahles <<a href="mailto:politzerahless@gmail.com" class="">politzerahless@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">I am trying to plot two ERPs in ft_multiplotER with different line styles. According to the documentation, I should be able to feed a cell array of styles into cfg.linestyle. But when I do that, it seems to only use the last style in the cell
 array. Here's an example of the code I'm using:</div>
<div class=""><br class="">
</div>
<div class="">figure;</div>
<div class="">cfg = [];</div>
<div class="">cfg.parameter = 'avg';</div>
<div class="">cfg.layout = lay;</div>
<div class="">cfg.showlabels= 'yes';</div>
<div class="">cfg.linestyle = {'-' '--'};</div>
<div class="">cfg.channel = {'EEG' '-M1' '-M2'};</div>
<div class="">ft_multiplotER( cfg, MMNsonly.ka3, MMNsonly.pa3 );</div>
<div class=""><br class="">
</div>
<div class="">I expected that this should make one of the ERPs be a solid line and one a dashed line, but it made both of them dashed lines, as you can see here:<span class="Apple-converted-space"> </span><a href="https://imgur.com/a/RybbkLq" class="">https://imgur.com/a/RybbkLq</a></div>
<div class=""><br class="">
</div>
<div class="">I'm not sure if I'm missing something that I should be doing, or if this is a bug. If anyone needs to be able to reproduce this, let me know and I can try to Dropbox you my data and layout to allow you to run this code.</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Steve<br class="">
</div>
<div class="">
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class=""></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
</blockquote>
</div>
<br class="">
</div>
<br class="">
</body>
</html>