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 breamore...@yahoo.co.uk: On 30/08/2012 19:00, Fabien Lafont wrote: Actually I just want to do it on that plot not on

[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

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 Institute

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 damon.mcdoug...@gmail.com 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

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 lafont.fab...@gmail.comwrote: There is no effect... 2012/8/30 Damon McDougall damon.mcdoug...@gmail.com 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?

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

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 lafont.fab...@gmail.comwrote: 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

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 lafont.fab...@gmail.comwrote: There is no effect... 2012/8/30 Damon McDougall damon.mcdoug...@gmail.com On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote:

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

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

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 damon.mcdoug...@gmail.com

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.

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 damon.mcdoug...@gmail.com 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

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 lafont.fab...@gmail.comwrote: 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

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=

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

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 si...@lma.cnrs-mrs.fr: 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

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 si...@lma.cnrs-mrs.fr: 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