Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-31 Thread Fabien Lafont
Hi, I think I was tired yesterday. matplotlib.rcParams['xtick.labelsize'] = 20.0 works perfectly also with xlabel("name", size= 30) Thanks all, Fabien 2012/8/30 Mark Lawrence : > On 30/08/2012 19:00, Fabien Lafont wrote: >> Actually I just want to do it on that plot not on all my future plot.

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Mark Lawrence
On 30/08/2012 19:00, Fabien Lafont wrote: > Actually I just want to do it on that plot not on all my future plot. > > 2012/8/30 Fabrice Silva : >> Le jeudi 30 août 2012 à 19:48 +0200, Fabien Lafont a écrit : >>> I just create two vectors from a .txt file and I plot them. >>> I think I have the late

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
Actually I just want to do it on that plot not on all my future plot. 2012/8/30 Fabrice Silva : > Le jeudi 30 août 2012 à 19:48 +0200, Fabien Lafont a écrit : >> I just create two vectors from a .txt file and I plot them. >> I think I have the latest version of matplotlib. I have at least the >> l

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabrice Silva
Le jeudi 30 août 2012 à 19:48 +0200, Fabien Lafont a écrit : > I just create two vectors from a .txt file and I plot them. > I think I have the latest version of matplotlib. I have at least the > last version of python(x,y) > > > from pylab import* > > import matplotlib > matplotlib.rcParams['xt

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
I just create two vectors from a .txt file and I plot them. I think I have the latest version of matplotlib. I have at least the last version of python(x,y) from pylab import* import matplotlib matplotlib.rcParams['xtick.labelsize'] = 20.0 B5= genfromtxt("2012-05-14_RC3D3D2C1_D2D1_m18T_18T_Vg32

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Benjamin Root
On Thu, Aug 30, 2012 at 1:38 PM, Fabien Lafont wrote: > I'm just trying to plot a graph and add a label to each axis of that graph > and change the labelsize of the ticks. > > Could you post your code? What you are describing shouldn't happen. Also, which version of matplotlib are you using? Be

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
I'm just trying to plot a graph and add a label to each axis of that graph and change the labelsize of the ticks. 2012/8/30 Damon McDougall > On Thu, Aug 30, 2012 at 07:28:40PM +0200, Fabien Lafont wrote: > > Thanks, > > > > I've found the problem. I use xlabel("name of my axis", size= 30) after

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 07:28:40PM +0200, Fabien Lafont wrote: > Thanks, > > I've found the problem. I use xlabel("name of my axis", size= 30) after > matplotlib.rcParams['xtick. > labelsize'] = 12.0 and it cancel it! Is it possible to have a name on the > axe and matplotlib.rcParams['xticks. > l

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
Thanks, I've found the problem. I use xlabel("name of my axis", size= 30) after matplotlib.rcParams['xtick. labelsize'] = 12.0 and it cancel it! Is it possible to have a name on the axe and matplotlib.rcParams['xticks. labelsize'] = 12.0 ?? 2012/8/30 Damon McDougall > On Thu, Aug 30, 2012 a

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 07:06:14PM +0200, Fabien Lafont wrote: > I've tried also but it returns an error: > > matplotlib.rcParams['xticks.labelsize'] = 12.0 > File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 653, in > __setitem__ > See rcParams.keys() for a list of valid pa

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
I've tried also but it returns an error: matplotlib.rcParams['xticks.labelsize'] = 12.0 File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 653, in __setitem__ See rcParams.keys() for a list of valid parameters.' % (key,)) KeyError: 'xticks.labelsize is not a valid rc paramete

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 12:04:48PM -0400, Benjamin Root wrote: > On Thu, Aug 30, 2012 at 11:58 AM, Fabien Lafont > wrote: > > > There is no effect... > > > > > > 2012/8/30 Damon McDougall > > > >> On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote: > >> > Hello, > >> > > >> > Do you k

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Benjamin Root
On Thu, Aug 30, 2012 at 12:53 PM, Fabien Lafont wrote: > Hi, > > But how can I do it for every graph and without creating axis? > > > We just told you: import matplotlib matplotlib.rcParams['xticks.labelsize'] = 12.0 Whenever a plot is made, it obtains the defaults from the rcParams. Note, if y

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
Hi, But how can I do it for every graph and without creating axis? I've seen this example: import numpy as npimport matplotlib.pyplot as plt # plt.figure creates a matplotlib.figure.Figure instancefig = plt.figure()rect = fig.patch # a rectangle instancerect.set_facecolor('lightgoldenrodyellow

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Benjamin Root
On Thu, Aug 30, 2012 at 11:58 AM, Fabien Lafont wrote: > There is no effect... > > > 2012/8/30 Damon McDougall > >> On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote: >> > Hello, >> > >> > Do you know to change the size of the numbers under the axis? >> > >> >> import matplotlib >> ma

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
There is no effect... 2012/8/30 Damon McDougall > On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote: > > Hello, > > > > Do you know to change the size of the numbers under the axis? > > > > import matplotlib > matplotlib.rcParams['axes.labelsize'] = 12.0 > > Hope this helps. > > -- >

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote: > Hello, > > Do you know to change the size of the numbers under the axis? > import matplotlib matplotlib.rcParams['axes.labelsize'] = 12.0 Hope this helps. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Instit

[Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Fabien Lafont
Hello, Do you know to change the size of the numbers under the axis? fabien -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT ma