On Mon, May 21, 2012 at 3:45 AM, Chao YUE <chaoyuejoy@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,


Hi Chao,
Have you tried the 'savefig.dpi' rcParam? (see customization docs