Re: [Matplotlib-users] Changing xlabel/ylabel position

2011-04-01 Thread andes
to adjust the padding between the axis and the > label. > > ax.xaxis.labelpad = 0 > > Regards, > > -JJ > > > On Mon, Mar 21, 2011 at 3:27 AM, andes wrote: >> x = linspace(0,1,10) >> y = x**2 >> plot(x, y) &g

Re: [Matplotlib-users] Changing Image Size

2011-03-31 Thread andes
Andrew, After you are done modifying your figure (either in your code or in the GUI), run the following line: savefig('example.png', bbox_inches='tight') Does it save the figure the way you want? Best, carlo -- View this message in context: http://old.nabble.com/Changing-Image-Size-tp312784

[Matplotlib-users] Changing xlabel/ylabel position

2011-03-20 Thread andes
Hello all, I am trying to change the position of the xlabel/ylabel with respect to the xaxis/yaxis. Particularly, I was trying to get the "xlabel" closer to the "xaxis" and the "ylabel" closer to the "yaxis", for which I was using the lines indicated with '#<---' in the following sample code:

Re: [Matplotlib-users] jagged line in eps from matplitlib

2010-12-29 Thread andes
e (or any other setting) not to use "round" style. In case you > must use "round" style, I guess you'd better upgrade your ghostscript. > > Regards, > > -JJ > > > On Mon, Dec 20, 2010 at 8:53 AM, andes wrote: >> >> Hello JJ, >> &

Re: [Matplotlib-users] jagged line in eps from matplitlib

2010-12-19 Thread andes
> -JJ > > > On Thu, Dec 16, 2010 at 1:46 AM, andes wrote: >> >> hello, >> >> When I save as an "eps" a figure created by matplotlib I face the problem >> that the inclined lines in the plot appear to be jagged when I open the >> "eps&quo

[Matplotlib-users] jagged line in eps from matplitlib

2010-12-16 Thread andes
hello, When I save as an "eps" a figure created by matplotlib I face the problem that the inclined lines in the plot appear to be jagged when I open the "eps" (please see figure below). This problem doesn't appear when I save the figure as a pdf or png. Do you you know if there is a simple soluti