Re: [Matplotlib-users] Matplotlib documentation

2009-03-02 Thread Gökhan SEVER
I am willing to add this functionality to the documentation. Unfortunately, I have still not been able to figure out how sphinx inserting functions or classes in order and how the module index is being created. Once I found my way I will try to come up with a generic way for this. Maybe someone ca

Re: [Matplotlib-users] Keeping a zoomed view when adding to a plot

2009-03-02 Thread Aaron R>
Sorry for the delay in responding. This worked perfectly! Thanks so much for the time saver. Kind regards, Aaron R> On Thu, Feb 26, 2009 at 12:28 PM, Eric Firing wrote: > Aaron R> wrote: >> >> I have an app which adds data to a plot.  Everything is working, but >> when I add data to a plot th

Re: [Matplotlib-users] Matplotlib documentation

2009-03-02 Thread Wai Yip Tung
I second this suggestion. Right now it is quite hard to navigate to an individual function within the chapter of matplotlib.pyplot API in the PDF. Wai Yip > Hello, > > My first message in the list. I would like to mention a few things about > the > matplotlib PDF document. > > Firstly, the d

[Matplotlib-users] sluggish pdfs with large data sets

2009-03-02 Thread Daniel Soto
hello, i'm using matplotlib on os x and am having issues with plots of large data sets. i have some plots which contain about ~1 points and the pdf files generated bring preview.app and quicklook to their knees when they open the pdf files. here is a small file that reproduces my issue

[Matplotlib-users] Running matplotlib from an interactive python shell with wxPython

2009-03-02 Thread Wai Yip Tung
I was trying to setup matplotlib to use interactively with wxPython as the backend. I run into the issue that when I call draw(), it blocks the interpreter. Since then I've found out it is a issue with some GUI backend that the mainloop blocks. The suggested solution is to use ipython, which

Re: [Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jeff Whitaker
Jose Gomez-Dans wrote: > Jeff, thanks for your comment > > 2009/3/2 Jeff Whitaker mailto:jsw...@fastmail.fm>> > > > Jose: I think the key is to only create the basemap instance only > once (for the main plot and for the inset), then re-use that > basemap instance each time you create an

Re: [Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jose Gomez-Dans
Jeff, thanks for your comment 2009/3/2 Jeff Whitaker > > Jose: I think the key is to only create the basemap instance only once (for > the main plot and for the inset), then re-use that basemap instance each > time you create an animation frame. That helps in memory consumption, and that's som

[Matplotlib-users] encoding 2 variables with hue / intensity

2009-03-02 Thread Peter Skomoroch
Is there any way to encode 2 variables in a matplotlib colormap? The idea is to replicate this dataspora R scatterplot in matplotlib: http://www.dataspora.com/gameday/pitcher/daisuke-matsuzaka/493137 "The bottom strip of charts encode two dimensions with color -- blue or red hue indicates pitch

[Matplotlib-users] Label plot lines analogously to clabel

2009-03-02 Thread hazelnusse
I am generating level curves numerically with a gradient method of my own recipe. The result is a bunch of 100x2 vectors, each 'row' of which is a point on a level curve in the plane. My goal is to label each plot line analogously to how contour lines are labelled with clabel. Is this possible?

Re: [Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jeff Whitaker
Jose Gomez-Dans wrote: > Hi! > > [I think the message didn't get through the first time I sent it. > Resending, and apologies if you get it twice] > > I have a rather complex basemap-derived plot that I want to save as > animation. > In essence, it uses the blumarble() to add a nice background, p

[Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jose Gómez-Dans
Hi! I have a rather complex basemap-derived plot that I want to save as animation. In essence, it uses the blumarble() to add a nice background, plots some stuff on top of that, and also has an inset with a map of the world that shows the area of the main map. The problem is that memory usage

[Matplotlib-users] Problems after upgrading to 0.98.5.2

2009-03-02 Thread Jeffrey Fogel
I just upgraded from 0.98.3 to 0.98.5.2 on my Mac (OS X 10.4.11) because I wanted some of the new legend features, and now have two strange errors. 1) When I run a script that creates a plot, the terminal window (either a command prompt or ipython) is now frozen until I have closed the plot window

Re: [Matplotlib-users] making (very simple) Venn diagrams?

2009-03-02 Thread Jonathan Taylor
Try this: from matplotlib import pyplot as plt from matplotlib.patches import Circle f = plt.figure() ax = f.gca() rad = 1.4 c1 = Circle((-1,0),rad, alpha=.2, fc ='red') c2 = Circle((1,0),rad, alpha=.2, fc ='blue') c3 = Circle((0,1),rad, alpha=.2, fc ='green') ax.add_patch(c1) ax.add_patch(c2) ax

Re: [Matplotlib-users] Why do I need to call show with ipython -pylab

2009-03-02 Thread Matthias Michler
Hi Jon, I can reproduce you observation using the following program > - from pylab import plot, arange, ion ##ion() plot(arange(10), arange(10)) > -- uncommenting the second line resolves the problem a

Re: [Matplotlib-users] setting font of axes ticklabels and making labels not overlap

2009-03-02 Thread Ryan May
On Sat, Feb 28, 2009 at 1:23 PM, per freem wrote: > hi all, > > two quick questions about plotting: i am trying to very simply reset the > font family to be 'helvetica' for my figure, in particular for the > ticklabels. i have tried using the following: > > def axes_square(plot_handle): > plo

[Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jose Gomez-Dans
Hi! [I think the message didn't get through the first time I sent it. Resending, and apologies if you get it twice] I have a rather complex basemap-derived plot that I want to save as animation. In essence, it uses the blumarble() to add a nice background, plots some stuff on top of that, and als

Re: [Matplotlib-users] Rotate legend ?

2009-03-02 Thread Naoli
Such a shame... Anyway, I'm glad to learn horizontal bars are possible, I'll try it. Thanks for your answers. Naoli 2009/3/1 Jae-Joon Lee > Horizontal bar is possible, although i'm not sure it fits your need. > > http://matplotlib.sourceforge.net/examples/pylab_examples/barh_demo.html > > An