Figure Dimension

Hi All matplotlib users,
I want to ask a question about figure dimension (pixels), how to set the figure’s dimension that we will create using matlotlib.pyplot.savefig() ?
Thank You …

···


Zainal Abidin, S.Si
Sub Bidang Informasi Meteorologi Publik
Badan Meteorologi dan Geofisika
Jl. Angkasa I No. 2
Jakarta - Indonesia
Visit Indonesia Year 2008 - Celebrating 100 Years of National Awakening

You create explicitely the figure before doing any drawing, and you read the
documentation for figure(..):

http://matplotlib.sourceforge.net/matplotlib.pyplot.html#-figure

  You want to change the figsize and dpi keywords.

  hth,
    Vincent

···

On vendredi 12 septembre 2008, Zainal Abidin wrote:

Hi All matplotlib users,
I want to ask a question about figure dimension (pixels), how to set the
figure's dimension that we will create using matlotlib.pyplot.savefig() ?
Thank You ..

--
Vincent Favre-Nicolin http://vincefn.net
Université Joseph Fourier http://www.ujf-grenoble.fr
CEA/ Institut Nanosciences & Cryogénie http://inac.cea.fr
ObjCryst & Fox http://objcryst.sourceforge.net