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 ..
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 -- 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users