Hello,
I have a figure with four subplots (2x2). I would like to put a title
centered over the top row. How do I do this?
Thanks,
Dave
Hello,
I have a figure with four subplots (2x2). I would like to put a title
centered over the top row. How do I do this?
Thanks,
Dave
See pylab.figtext()
David D Clark wrote:
Hello,
I have a figure with four subplots (2x2). I would like to put a title
centered over the top row. How do I do this?Thanks,
Dave-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Hi,
I'm using
from matplotlib.backends.backend_wx import FigureCanvasWx
for plotting data. It works fine, but the font used on
Windows XP is not really pretty. I would like to use another
font family and another size.
How can I achieve this ?
And another question: I'm using add_subplots mehtod for plotting,
and I would like to increase the vertical space between the
different subplots. Any hint how to do this ?
Greetings, Uwe
Hi Uwe,
Uwe Schmitt wrote:
Hi,
I'm using
from matplotlib.backends.backend_wx import FigureCanvasWx
for plotting data. It works fine, but the font used on
Windows XP is not really pretty. I would like to use another
font family and another size.
I just recently discovered this for a Vista legend problem I had (they were to big).
from matplotlib.font_manager import FontProperties
self.figure.legend((statsLinesP + statsLinesC), (statsTextsP + statsTextsC),
loc=self.legendPos, prop=FontProperties(size='smaller'))
Werner
Werner F. Bruhin wrote:
Hi Uwe,
Uwe Schmitt wrote:
Hi,
I'm using
from matplotlib.backends.backend_wx import FigureCanvasWx
for plotting data. It works fine, but the font used on
Windows XP is not really pretty. I would like to use another
font family and another size.I just recently discovered this for a Vista legend problem I had (they were to big).
from matplotlib.font_manager import FontProperties
self.figure.legend((statsLinesP + statsLinesC), (statsTextsP + statsTextsC),
loc=self.legendPos, prop=FontProperties(size='smaller'))
Thanks for your hint. But it does not work for me. title() does not support a 'prop' argument.
But I found a solution. One can write
axes.set_title("title", fontsize=10)
which works for me.
But I have another question concerning fontsize's :
How can I set the fontsize of the x- and y-ticks-labels ???
Greetings, Uwe
--
Dr. rer. nat. Uwe Schmitt
F&E Mathematik
mineway GmbH
Science Park 2
D-66123 Saarbrücken
Telefon: +49 (0)681 830 5334
Telefax: +49 (0)681 830 4376
uschmitt@...1506...
www.mineway.de
Geschäftsführung: Dr.-Ing. Mathias Bauer
Amtsgericht Saarbrücken HRB 12339