Re: [Matplotlib-users] mplot3d and plot_surface: How to 'hide' objects inside the surface

2011-05-06 Thread Alexander Dietz
Hi Benjamin, thanks for your answer - I feared you would reply as you did. I will have a look at mayavi then. Thanks Alex On Fri, May 6, 2011 at 00:24, Benjamin Root ben.r...@ou.edu wrote: On Thursday, May 5, 2011, Alexander Dietz alexanderdie...@googlemail.com wrote: Hi, I have the

Re: [Matplotlib-users] fill with a semilogy axis?

2011-05-06 Thread Francesco Montesano
Hi Michael, I use fill_between() and log axis without problems in the following way (it's by memory, I hope the sintax is correct) fig = plt.figure() spl = fig.add_subplot(111) spl.fill_between(x,y1,y2) spl.set_yscale(log) plt.show() Cheers, Fra Il giorno 06/mag/2011, alle ore 01.34,

Re: [Matplotlib-users] Save or pickle pyplot object

2011-05-06 Thread Andreas Reisinger
Hi Ben, Thanks anyway for your answer! Aki Benjamin Root wrote: On Tue, Mar 29, 2011 at 8:35 AM, Andreas Reisinger andreas.reisin...@tuwien.ac.at mailto:andreas.reisin...@tuwien.ac.at wrote: Hi! I would like to save a pyplot object as it is, including axes, lines,

[Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-06 Thread Daniel Mader
Hi, almost every time I create a somewhat more complex figure I have to fight with the not too smart positioning of the plots and the size of margins around the axes. From many postings here I have learned that this is the absolute intention, i.e. it is broken by design unless the programmer

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-06 Thread Chris Rodgers
Since I just posted an almost-identical question, it's no surprise that I agree this would be a useful feature. Reason #1) I create hundreds of quick throwaway figures every day, often in an automated way, and don't have time to fine-tune them. Reason #2) a newbie to matplotlib might be turned off

[Matplotlib-users] Missing some islands in basemap?

2011-05-06 Thread Francesco Benincasa
Hi all, I've noticed that there are some islands missing from the basemap, such as Balearic Islands and Canary Islands. Any suggestion to fix it? Thank you very much in advance. -- -- Francesco Benincasa Research Support

[Matplotlib-users] Venn diagram for five events

2011-05-06 Thread Vikram K
I wish to draw a Venn diagram depicting five events and their intersections. I came across some code for three events--could someone please direct me about how i could modify it for five events. from matplotlib import pyplot as plt from matplotlib.patches import Circle f = plt.figure() ax =

[Matplotlib-users] Fwd: Venn diagram for five events

2011-05-06 Thread Vikram K
This works for four events and their intersections but how do i add the fifth event along with all intersections? 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,

Re: [Matplotlib-users] Fwd: Venn diagram for five events

2011-05-06 Thread Alan G Isaac
On 5/6/2011 7:57 AM, Vikram K wrote: I wish to draw a Venn diagram depicting five events and their intersections. Can't be done: http://www.brynmawr.edu/math/people/anmyers/PAPERS/Venn.pdf hth, Alan Isaac -- WhatsUp

Re: [Matplotlib-users] fill with a semilogy axis?

2011-05-06 Thread Johann Goetz
Hi Michael, I use fill_between() and log axis without problems in the following way (it's by memory, I hope the sintax is correct) fig = plt.figure() spl = fig.add_subplot(111) spl.fill_between(x,y1,y2) spl.set_yscale(log) plt.show() Cheers, Fra Il giorno 06/mag/2011, alle ore

Re: [Matplotlib-users] UserWarning: Attempting to set identical bottom==top

2011-05-06 Thread Benjamin Root
On Thu, May 5, 2011 at 10:01 PM, C M cmpyt...@gmail.com wrote: Because you have a py2exe'ed program, I suspect that whoever packaged the program should be the one to modify that program to choose its axes limits more robustly in order to avoid the warning message. Maybe I have been

Re: [Matplotlib-users] Missing some islands in basemap?

2011-05-06 Thread Francesco Benincasa
Hi all, I've noticed that there are some islands missing from the basemap, such as Balearic Islands and Canary Islands. I've fixed, the problem was that I'm using the python wrapper for grads, that set the default area threshold to 1 km ... I hope this can help someone else, bye. --

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-06 Thread Tony Yu
On Fri, May 6, 2011 at 5:55 AM, Chris Rodgers chris.rodg...@berkeley.eduwrote: The real solution of course is to calculate exactly where every piece of text actually is, detect overlaps, and adjust. That is certainly beyond my ability or inclination to implement. In the mean time, it would be

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-06 Thread Daniel Mader
Very nice, will try this asap! Many thanks! 2011/5/6 Tony Yu tsy...@gmail.com: On Fri, May 6, 2011 at 5:55 AM, Chris Rodgers chris.rodg...@berkeley.edu wrote: The real solution of course is to calculate exactly where every piece of text actually is, detect overlaps, and adjust. That is

[Matplotlib-users] incremental colors for lines

2011-05-06 Thread Pythonified
I have been trying to assign different colors for each line I plot, where the colors are incrementally darkened (or lightened), or selected from a colorbar (e.g. rainbow). Any ideas? -- View this message in context: http://old.nabble.com/incremental-colors-for-lines-tp31546719p31546719.html

[Matplotlib-users] Subplot x-tick labels overlap with each other and with titles

2011-05-06 Thread Chris Rodgers
Hi Whenever I create figures with at least 3x3 subplots, the x-tick labels overlap with each other and they also overlap with the title of the adjacent subplot, rendering the entire figure illegible. I know that I can fine-tune the plot to look exactly the way I want with wspace and hspace for

Re: [Matplotlib-users] UserWarning: Attempting to set identical bottom==top

2011-05-06 Thread C M
On Fri, May 6, 2011 at 10:33 AM, Benjamin Root ben.r...@ou.edu wrote: On Thu, May 5, 2011 at 10:01 PM, C M cmpyt...@gmail.com wrote: Because you have a py2exe'ed program, I suspect that whoever packaged the program should be the one to modify that program to choose its axes limits more

[Matplotlib-users] Display dynamic plots within wx GUI

2011-05-06 Thread Steve Kacenjar
Hello, I am trying to embed a dynamic figure within a GUI generated WX interface but it only displays the last evaluation. I have tried embedding the animated examples as provided by the animated link, www.scipy.org/Cookbook/Matplotlib/Animations but it only shows the last result in the

[Matplotlib-users] Radar and/or lidar data visualization

2011-05-06 Thread Gökhan Sever
Hello, Anyone on the list works with radar and/or lidar data for atmospheric phenomenon visualisation? I am wondering if there is any 2D specific analysis and visualisation package out in the web. Thanks. -- Gökhan --

Re: [Matplotlib-users] Fwd: Venn diagram for five events

2011-05-06 Thread Alan G Isaac
On 5/6/2011 7:57 AM, Vikram K wrote: I wish to draw a Venn diagram depicting five events and their intersections. On 5/6/2011 8:07 AM, Alan G Isaac wrote: Can't be done: http://www.brynmawr.edu/math/people/anmyers/PAPERS/Venn.pdf More precisely: it cannot be done with circles. Cheers,