Re: [Matplotlib-users] findobj in pylab

2008-07-07 Thread Robert Cimrman
Eric Firing wrote: Robert Cimrman wrote: Eric Firing wrote: I'm not sure if this is addressing your situation, but the simplest way to adjust all font sizes is to use the rcParams dictionary, either directly or via the matplotlibrc file. If the default font sizes for various items are

Re: [Matplotlib-users] findobj in pylab

2008-07-04 Thread Robert Cimrman
John Hunter wrote: On Thu, Jul 3, 2008 at 8:42 AM, John Kitchin [EMAIL PROTECTED] wrote: Thanks Matthias. That is a helpful example. I have been trying to figure out how to recursively examine all the objects in fig to see if there is a particular settable property. It seems like the

Re: [Matplotlib-users] findobj in pylab

2008-07-04 Thread Eric Firing
Robert Cimrman wrote: [...] Great! I used to write many such functions for setting font sizes of all elements in a figure. But speaking about the font sizes, one usually wants the title to be in larger font then the axis labels etc. How could something like this be implemented within your

Re: [Matplotlib-users] findobj in pylab

2008-07-04 Thread Robert Cimrman
Eric Firing wrote: I'm not sure if this is addressing your situation, but the simplest way to adjust all font sizes is to use the rcParams dictionary, either directly or via the matplotlibrc file. If the default font sizes for various items are specified using medium, large, etc, instead

Re: [Matplotlib-users] findobj in pylab

2008-07-03 Thread John Kitchin
10:00:31 +0200 From: Matthias Michler [EMAIL PROTECTED] Subject: Re: [Matplotlib-users] findobj in pylab To: matplotlib-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hello John, I'm not sure there is a better way, but the following works

Re: [Matplotlib-users] findobj in pylab

2008-07-03 Thread John Kitchin
Cool! That is exactly what I wanted to do! j -Original Message- From: John Hunter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 10:31 AM To: John Kitchin Cc: matplotlib-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: [Matplotlib-users] findobj in pylab On Thu, Jul

Re: [Matplotlib-users] findobj in pylab

2008-07-02 Thread Matthias Michler
Hello John, I'm not sure there is a better way, but the following works for me: -- from pylab import * fig = figure() # adding some subplots / axes instances subplot(121) x = linspace(-0.5, 1.5, 10) plot(x,

[Matplotlib-users] findobj in pylab

2008-06-25 Thread John Kitchin
Is there a way to find all the axes objects or line object handles in pylab? In matlab I used to do something like A = findobj(gcf) Allaxes = findall(a,'Type','axes') Set(allaxes,'Fontname','Arial') Is there a way to do that in pylab/matplotlib? Thanks, j ---