On Mon, May 21, 2012 at 3:45 AM, Chao YUE <chaoyue...@gmail.com> wrote:

> Dear all,
>
> I have a question on how to change default figure dpi when try to save
> figure in interactive mode.
> I try to use mat.rcParams['figure.dpi']=300 before I plot, then the
> problem is that the figure which is drawn is too big for interactive check
> (maybe because of increase in dpi).
> the mat.rcParams['figure.figsize'] is still default [8,6]. The other
> option is that always use fig=gcf(); and fig.savefig('my_plot.jpg',
> dpi=300).
> I am suing 'Agg' backend on ubuntu system.
>
> thanks et cheers,
>
> Chao
>
> Hi Chao,

Have you tried the 'savefig.dpi' rcParam? (see customization
docs<http://matplotlib.sourceforge.net/users/customizing.html>
)

Best,
-Tony
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to