<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dear users,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Apologies if I'm misusing the cfg parameters but I'm running into issues with plotting and can't find any examples/ thinking this may be a bug.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm using both single and multiplot with the code below. My linestyle is always the 6th style with no error.  From going through the multiplot code the line:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span> ft_plot_vector(xval, yval, 'width', chanWidth(m), 'height', chanHeight(m), 'hpos', chanX(m), 'vpos', chanY(m), 'hlim', [xmin xmax], 'vlim', [ymin ymax], 'color', graphcolor, 'style', cfg.linestyle{i}, 'linewidth', cfg.linewidth, 'axis', cfg.axes, 'highlight',
 mask, 'highlightstyle', cfg.maskstyle);<br>
</span><span></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
... is only called when i=6, i.e. the last data set. So the output makes sense, but I'm wondering how to change the lines of my plot to be two distinct styles. I cannot seem to adapt these .Children properties in matlab at a later point either.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Many thanks in advance. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best, Jac</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span> cfg=[]<br>
</span>
<div>        cfg.layout = 'biosemi64.lay';<br>
</div>
<div>        cfg.center = 'no'<br>
</div>
<div>        layout = ft_prepare_layout(cfg);</div>
<div>        cfg = [];<br>
</div>
<div>        cfg.parameter     = 'avg';<br>
</div>
<div>        cfg.channel       = 'all';<br>
</div>
<div>        cfg.baseline      = 'no' ;<br>
</div>
<div>        cfg.trials        = 'all' ;<br>
</div>
<div>        cfg.axes          = 'yes';<br>
</div>
<div>        cfg.box           = 'no';<br>
</div>
<div>        cfg.showlabels    = 'no' ;<br>
</div>
<div>        cfg.showoutline   = 'no';<br>
</div>
<div>        cfg.showscale     = 'yes';<br>
</div>
<div>        cfg.showcomment   = 'yes' ;<br>
</div>
<div>        cfg.interactive   = 'yes' ;<br>
</div>
<div>        cfg.graphcolor = 'rgbrgb';<br>
</div>
<div>        cfg.layout = layout;<br>
</div>
<div>        cfg.linestyle={'-','--','-','--','-',':'};<br>
</div>
<div>        ft_multiplotER(cfg, erp1{3}, erp1{4}, erp2{3}, erp2{4},erp3{3}, erp3{4})   <br>
</div>
<span></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div class="BodyFragment"><font size="2">
<div class="PlainText">
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i><span style="color:#7F7F7F"></span></i></p>
<i>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i><span style="color:#7F7F7F"></span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i style=""><span style="color:#404040"></span></i></p>
</i><span id="ms-rterangepaste-start"></span>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i style=""><span style="color:#404040">Dr Jac Billington</span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i><span style="color:#404040">Associate Professor in Perceptual Neuroscience</span></i><br>
</p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i style=""><span style="color:#404040">School of Psychology, Rm G.06A</span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i style=""><span style="color:#404040">University of Leeds</span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i style=""><span style="color:#404040">Leeds, LS2 9JT</span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i style=""><span style="color:#404040">Tel: +44(0)113 343 6686</span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><i style=""><span style="color:#7F7F7F"> </span></i></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
</div>
</font></div>
</div>
</div>
</body>
</html>