[Mne_analysis] Get higher resolution images

Sied Kebir skycrazer at gmail.com
Fri May 3 16:53:27 EDT 2019
Search archives:

        External Email - Use Caution        

Dear Denis,

I have tried this both with Ipython and Jupyter notebook as you can see
below:

[image: grafik.png]
The issue is the plot returns an image instead of an interactive object.
The quality is rather poor and I cannot resize. Did I miss out on something
here?

Best regards,
Kebir
--------------
Dr. med. Sied Kebir
Dahlhauser Str. 46
45279 Essen



Am Fr., 3. Mai 2019 um 22:21 Uhr schrieb Denis A. Engemann <
denis-alexander.engemann at inria.fr>:

>         External Email - Use Caution
>
> Hi Sied,
>
> how are you calling raw.plot(), inside Jupyter or inside IPython?
> The figure should be quite big usually and you can manually resize it and
> there is plenty if interactive features, like moving through time, adding
> channels, superimposing the time series (press “b”) or annotating (press
> “a”).
> Otherwise, see that the return value of raw.plot() is a maptlotlib figure
> https://matplotlib.org/api/_as_gen/matplotlib.pyplot.figure.html
> which can be resized and saved to disk.
>
> Hope that helps,
> Denis
>
>
>
> > On May 3, 2019, at 9:50 PM, Sied Kebir <skycrazer at gmail.com> wrote:
> >
> >         External Email - Use Caution
> >
> >
> > Dear all,
> >
> > I wonder if the .plot function can produce images of higher resolution
> that can be used for publication purposes for example. After consulting the
> documentation I couldn't find any hint. I tried using matplotlib's savefig
> but it didn't work. Appreciate your help! Thanks.
> >
> > I am running IPython with the following specifications:
> >  'sys_version': '3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04)
> [MSC '
> >                 'v.1916 64 bit (AMD64)]'}
> > <grafik.png>
> > Best regards,
> > Kebir
> > --------------
> > Dr. med. Sied Kebir
> > Dahlhauser Str. 46
> > 45279 Essen
> >
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> _______________________________________________
> 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/20190503/212bbb26/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grafik.png
Type: image/png
Size: 145158 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190503/212bbb26/attachment-0001.png 


More information about the Mne_analysis mailing list