[Mne_analysis] set start_time and end_time and timw_unit for plot_compare_evokeds

Mainak Jas mainakjas at gmail.com
Thu Aug 1 00:25:47 EDT 2019
Search archives:

        External Email - Use Caution        

Hi,

You can use standard matplotlib commands for this. For the first, issue,
use plt.xlim((0, 1.4)).

For the second issue, you have to set the tick labels. Perhaps this example
gives you a good start:
https://matplotlib.org/examples/pylab_examples/custom_ticker1.html

Best,
Mainak

On Wed, Jul 31, 2019 at 5:45 AM Farzaneh Taleb <farzanehtaleb11 at gmail.com>
wrote:

>         External Email - Use Caution
>
> Hi
> 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't  find any parameter to set time. Als I want
> show x axis in millisecond unit.
> I should use plot_compare_evokeds because I want show both of them in one
> figure.
> Thank's
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190801/68f95c76/attachment.html 


More information about the Mne_analysis mailing list