Re: [Matplotlib-users] Global font size

2008-06-19 Thread Bill Baxter
Thanks for the reply. On Fri, Jun 20, 2008 at 10:32 AM, Darren Dale <[EMAIL PROTECTED]> wrote: > On Thursday 19 June 2008 9:13:15 pm Bill Baxter wrote: >> On Fri, Jun 20, 2008 at 10:01 AM, Darren Dale <[EMAIL PROTECTED]> wrote: >> > Hi Bill, >> > >&g

Re: [Matplotlib-users] Global font size

2008-06-19 Thread Bill Baxter
On Fri, Jun 20, 2008 at 10:01 AM, Darren Dale <[EMAIL PROTECTED]> wrote: > Hi Bill, > > On Thursday 19 June 2008 8:18:12 pm Bill Baxter wrote: >> Matplot folks, >> Is there a way to increase all font sizes globally across the board? >> I played around with some RC

[Matplotlib-users] Global font size

2008-06-19 Thread Bill Baxter
Matplot folks, Is there a way to increase all font sizes globally across the board? I played around with some RC parameters but they don't seem to have any effect. I found that I could more or less achieve the desired result by the following steps: 1) plot to something like subplot(6,6,1). That i

Re: [Matplotlib-users] matplotlib and interactive use

2007-08-20 Thread Bill Baxter
Did you try raw_input("hit enter") ? On 8/21/07, Wolfgang Kerzendorf <[EMAIL PROTECTED]> wrote: > Hello, > > I am currently writing a data reduction program. I want to use pylab in > a script and use interactive input of pylab. The problem is that in > ipython -pylab the script just keeps goin

Re: [Matplotlib-users] HOW TO: have multiple plot windows open at the same time?

2007-08-20 Thread Bill Baxter
On 8/21/07, Geoffrey Zhu <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I just started to use pylab, and there are two issues I can't figure > out a way to get around. > > 1. show() does not return until I close the plot window. This makes it > impossible to show multiple plots at the same time. How

Re: [Matplotlib-users] spawning plots as separate processes

2007-06-12 Thread Bill Baxter
I'm not sure what you're after exactly, but your design needs may be solved by calling pylab.ion(True). If not the ezplot library that I wrote may do it for you. http://www.python.org/pypi/ezplot/0.1.0a3 --bb On 6/13/07, signal seeker <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am very new to

Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-20 Thread Bill Baxter
On 5/20/07, John Hunter <[EMAIL PROTECTED]> wrote: > On 5/18/07, Christopher Barker <[EMAIL PROTECTED]> wrote: > > > > > > I'm no expert, but it looks like you need to do: > > axis.add_collection(YourCollection) > > Yep, this i the right approach. See the following examples: > > collections_demo.p

Re: [Matplotlib-users] Drawing lots of lines or polygons

2007-05-18 Thread Bill Baxter
That does look like what I'm after. Two things are unclear to me from the docs you pointed to: 1) How do you actually add something to a plot with those? Are they automatically added to the current figure just by creating them? 2) How do patch/poly collections determine the edges? All I can see

[Matplotlib-users] Drawing lots of lines or polygons

2007-05-17 Thread Bill Baxter
I frequently find myself wanting to draw a bunch of disconnected line segments or polygons. Is there anything in matplotlib to facilitate that? I usually just end up writing a loop. Like: for s,e in izip(starts,ends): plot([s[0],e[0]], [s[1],e[1]], 'b-') Or if the starts and ends are

Re: [Matplotlib-users] All-in-one distribution of python/numpy/scipy/mpl for windows

2007-05-14 Thread Bill Baxter
It seems like it would be a relatively easy thing for a Novice mode to be added to the Enstaller. The novice mode would just show you three happy buttons: install, upgrade, and uninstall. Under the hood it would be picking some particular set of packages for you. In fact even for experts it wou

[Matplotlib-users] Omitting curves from a legend

2007-04-18 Thread Bill Baxter
On 4/18/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Bill Baxter wrote: > > There are a couple things about legend that I'm finding a little > > irksome. Is there some better way to do this? > > > > 1) if you have a contour, legend() wants to add all the cont

Re: [Matplotlib-users] Omitting curves from a legend

2007-04-16 Thread Bill Baxter
e: > Maybe I should make _nolegend_ the default for contour and contourf > collections? > > Eric > > John Hunter wrote: > > On 4/13/07, Bill Baxter <[EMAIL PROTECTED]> wrote: > >> There are a couple things about legend that I'm finding a little > >>

[Matplotlib-users] Omitting curves from a legend

2007-04-13 Thread Bill Baxter
There are a couple things about legend that I'm finding a little irksome. Is there some better way to do this? 1) if you have a contour, legend() wants to add all the contours to the list. calling contour(...,label='_nolegend_') doesn't seem to help. I'm trying to plot a bunch of different type

Re: [Matplotlib-users] numpy migration

2007-04-04 Thread Bill Baxter
On 4/5/07, John Hunter <[EMAIL PROTECTED]> wrote: > in a recent thread on the matplotlib-devel list > > http://thread.gmane.org/gmane.comp.python.matplotlib.devel/2646 > > we've been discussing a plan to jettison support for the three array > packages in matplotlib. +1 from me. I don't use the

Re: [Matplotlib-users] Migration from Matlab: translator and EEGlab

2007-03-28 Thread Bill Baxter
On 3/29/07, John Hunter <[EMAIL PROTECTED]> wrote: > On 3/28/07, Giorgio F. Gilestro <[EMAIL PROTECTED]> wrote: > > Hi, > > I have to question that will help some colleagues/friends of mine to switch > > to python from matlab. > > > > 1 - is there an automatic translator of code from matlab to > >

[Matplotlib-users] Default Reply-to-sender

2007-03-23 Thread Bill Baxter
Did you guys make a conscious decision to have the matplotlib list send replies only to the sender of the message rather than the list? This seems to be the default at SourceForge, so it's conceivable you just haven't bothered to change it. I've been on at least 10 different mailing lists in the

[Matplotlib-users] Fwd: interactive plots again

2007-03-23 Thread Bill Baxter
gah! bitten by reply to sender once again. --bb -- Forwarded message -- From: Bill Baxter <[EMAIL PROTECTED]> Date: Mar 24, 2007 12:09 PM Subject: Re: [Matplotlib-users] interactive plots again To: Robert Cimrman <[EMAIL PROTECTED]> Are you sure that's thre

Re: [Matplotlib-users] matshow?

2007-03-16 Thread Bill Baxter
On 3/17/07, Bill Baxter <[EMAIL PROTECTED]> wrote: A pox on matplotlib's default reply-to-sender! Resending my reply that went to Fernando alone below. > On 3/17/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > > On 3/16/07, Bill Baxter <[EMAIL PROTECTED]> wro

[Matplotlib-users] matshow?

2007-03-16 Thread Bill Baxter
Why does pylab.matshow() create a new figure by default when no other standard pylab function I know of does that? It seems very inconsistent for no particular gain, since as always figure();matshow(m) will achieve that result if that is what is desired. --bb

[Matplotlib-users] Nonblocking Plots with Matplotlib

2007-03-13 Thread Bill Baxter
Howdy Folks, I was missing the good ole days of using Matlab back at the Uni when I could debug my code, stop at breakpoints and plot various data without fear of blocking the interpreter process. Using "ipython -pylab" is what has been suggested to me in the past, but the problem is I don't do m

Re: [Matplotlib-users] numpy-1.0b-compatible release?

2006-08-22 Thread Bill Baxter
array.tolist() can be used as a temporary workaround.i.e.  tack .tolist() onto the end of any numpy.array arguments to matplotlib functions.--bbOn 8/22/06, Sven Schreiber <[EMAIL PROTECTED]> wrote: Hi all,I'm using recently changed numpy features, so I have not been able touse matplotlib in a whil

Re: [Matplotlib-users] Getting started with bar charts

2006-08-21 Thread Bill Baxter
If you can't find help anywhere else, the matlab documentaiton may be helpful.Most of the matplotlib functions are taken right from there. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/plot.htmlhttp://www.mathworks.com/access/helpdesk/help/techdoc/ref/subplot.html http://www.mathworks.c

Re: [Matplotlib-users] Pixel placement of text

2006-07-29 Thread Bill Baxter
Hey that's great. Thanks Jouni. There may be a better way, but this is at least a lot easier to figure out than the code in QuiverKey! You can even throw all the magic into one function like this: def const_offset(x,y): ax = gca() ll1 = ax.transData.get_bbox1().ll() ur1 = ax.transData.

Re: [Matplotlib-users] Pixel placement of text

2006-07-28 Thread Bill Baxter
QuiverKey class in quiver.py. It is all a matter of using the > transforms module. > > Eric > > Bill Baxter wrote: > > I want to draw some labels with plot.text() and have them appear a > > given number of pixels (or mm, or points) to above and to the right of >

Re: [Matplotlib-users] Pixel placement of text

2006-07-28 Thread Bill Baxter
Howdy PGM, Thanks for the reply. On 7/28/06, PGM <[EMAIL PROTECTED]> wrote: > Bill, > Could you post an example of the problem ? I must admit I'm slower than usual > to react today, and I'm not sure I understand what you mean. > I tried that: > > plot([3,],[3,],'o') > gca().text(3,3,'TEXT') I'm p

[Matplotlib-users] Pixel placement of text

2006-07-27 Thread Bill Baxter
I want to draw some labels with plot.text() and have them appear a given number of pixels (or mm, or points) to above and to the right of the data points they are describing. Is there some way to specify a screen offset from a point in graph coordinates? Like a method of the axes that converts f