<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Angel,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">    pop_comperp (Plot -> Sum/Compare ERPs) is capable of plotting standard deviations, but only when given multiple datasets: it'll take the standard deviation between the mean ERPs of each dataset, thus, with a sample a size equalling the number of datasets that are averaged together -- which is probably what you're looking for in a study. </div><div class="gmail_default" style="font-size:small">    This option is greyed out when a study is loaded, but it still works from the command line, if all study datasets are stored in memory. If they are ordered consistently, you can use the indices in ALLEEG to refer to specific conditions. For example, for a study of 20 participants with 8 conditions each, all loaded in the same order as separate datasets, indices [1:8:160] should contain the first condition's datasets, [2:8:160] the second, etc.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">    But, you asked for standard error, not standard deviation, and a shading effect, not lines.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">    I've created an ERP plotting function that can plot the standard error of the mean, and can do this for single datasets as well as combinations of datasets. See <a href="https://github.com/lrkrol/plot_erp">https://github.com/lrkrol/plot_erp</a>, set 'plotstd' to 'fill', and perhaps look into the argument 'avgmode' depending on what you need.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">    While we're at it, if anyone's still reading: are there any arguments for deciding between showing standard *deviation* and standard *error*, or any other measures of spread, for ERP plots? I was considering implementing other measures in plot_erp.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">    Laurens</div><div class="gmail_default" style="font-size:small"><br></div></div></div></div></div></div>