<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr"><div>Hi,</div><div><br></div><div>You can use standard matplotlib commands for this. For the first, issue, use plt.xlim((0, 1.4)).</div><div><br></div><div>For the second issue, you have to set the tick labels. Perhaps this example gives you a good start: <a href="https://matplotlib.org/examples/pylab_examples/custom_ticker1.html" target="_blank">https://matplotlib.org/examples/pylab_examples/custom_ticker1.html</a></div><div><br></div><div>Best,<br></div><div>Mainak<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 31, 2019 at 5:45 AM Farzaneh Taleb &lt;<a href="mailto:farzanehtaleb11@gmail.com" target="_blank">farzanehtaleb11@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p><p></p><div dir="ltr">Hi<div>I created epocks array from some eeg data for each subject and then I concanetated all of them to calculate average and erp and then plot two conditions using plot_compare_evokeds. But it  adds some zero before and after signal that I dont want it. for example I have signal from 0 to 1.4 s. but it shows from 0 to 5(some zero before and after main signal and main signal in the middle). I didn&#39;t  find any parameter to set time. Als I want show x axis in millisecond unit.</div><div>I should use plot_compare_evokeds because I want show both of them in one figure.</div><div>Thank&#39;s</div></div>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></blockquote></div>