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
···
–
Chao YUE
Laboratoire des Sciences du Climat et de l’Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16