Re: [Matplotlib-users] color and transparency in overlapping regions

2010-04-13 Thread Matthias Michler
On Tuesday 13 April 2010 16:37:21 hettling wrote: > Dear all, > > I want to plot 3 overlapping regions using fill() into one panel, but my > solution looks sort of messy... Here is the code: [...snip...] > The figure looks like 4 regions are plotted, because overlapping red and > yellow make an ora

[Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-04-13 Thread Gökhan Sever
Hello, Could someone confirm me if there is any malfunctioning using these simple figure functions? plt.figure(figsize=(2,3)) plt.figure(figsize=(5,6)) plt.figure(figsize=(9,15)) plt.figure(figsize=(19,5)) For some reason I can't get Qt4Agg creating last two figures in specified sizes. (WXAgg

Re: [Matplotlib-users] schematic diagrams - fancy boxes, packers and arrows

2010-04-13 Thread Jae-Joon Lee
> > Is it fairly easy to put something like this together using all the > offsetbox tools and fancy arrows? I tried to cook up something similar to what you described. See the attached file. Well, I would not say it is fairly easy, but not that difficult either I hope. The demo requires svn r8227

Re: [Matplotlib-users] ipython pylab switch, GDAL, Enthought

2010-04-13 Thread Robert Kern
On 2010-04-13 16:55 PM, K.-Michael Aye wrote: > Trying Unison via the GMane NNTP now, but weird that nabble has your > last answer already for long time, whereas GMane still does not show > it. Does the NNTP pull the mailing lists on a low frequency. The latency is variable, but it's been getting

Re: [Matplotlib-users] ipython pylab switch, GDAL, Enthought

2010-04-13 Thread K . -Michael Aye
On 2010-04-13 18:13:40 +0200, K. -Michael Aye said: >> >> >> On 2010-04-13 10:18 AM, K. -Michael Aye wrote: >>> Dear all, >>> >>> maybe this should go to the Enthought list, but as the failure is >>> directly related to the pylab switch of ipython, I thought I try it >>> here first: >>> >>>

[Matplotlib-users] SciPy 2010 News: Specialized track deadline extended

2010-04-13 Thread Amenity Applewhite
Have you been meaning to prepare an abstract to submit for a SciPy 2010 specialized track (http://conference.scipy.org/scipy2010/papers.html#tracks )? Didn't find the time? Well you're in luck. This weekend, we had technical issues with the email submissions for the specialized tracks. In light

Re: [Matplotlib-users] Postscript backend produces different file permission than png backend?

2010-04-13 Thread Eric Firing
Drain, Theodore R (343P) wrote: > On Linux: > > import pylab as p > p.plot( [1,2,3] ) > p.savefig( 'test.ps' ) > p.savefig( 'test.png' ) > > ls -l test.* > -rw-r--r-- 1 --- - 17236 Apr 13 10:32 test.png > -rw--- 1 --- - 8640 Apr 13 10:32 test.ps > > This is with a umask of 022. I

[Matplotlib-users] Postscript backend produces different file permission than png backend?

2010-04-13 Thread Drain, Theodore R (343P)
On Linux: import pylab as p p.plot( [1,2,3] ) p.savefig( 'test.ps' ) p.savefig( 'test.png' ) ls -l test.* -rw-r--r-- 1 --- - 17236 Apr 13 10:32 test.png -rw--- 1 --- - 8640 Apr 13 10:32 test.ps This is with a umask of 022. It looks to me like this is caused by the ps backend cr

Re: [Matplotlib-users] ipython pylab switch, GDAL, Enthought

2010-04-13 Thread Robert Kern
On 2010-04-13 11:13 AM, K. -Michael Aye wrote: >> >> On 2010-04-13 10:18 AM, K. -Michael Aye wrote: >>> Dear all, >>> >>> maybe this should go to the Enthought list, but as the failure is directly >>> related to the pylab switch of ipython, I thought I try it here first: >>> >>> On OSX I have trou

Re: [Matplotlib-users] ipython pylab switch, GDAL, Enthought

2010-04-13 Thread K. -Michael Aye
> > On 2010-04-13 10:18 AM, K. -Michael Aye wrote: >> Dear all, >> >> maybe this should go to the Enthought list, but as the failure is directly >> related to the pylab switch of ipython, I thought I try it here first: >> >> On OSX I have trouble with using the pylab switch for ipython after I

[Matplotlib-users] controlling padding between axis and ticklabels in polar plots

2010-04-13 Thread Daniel Platz
Hello, I have a question concerning the label positions of x- or y-ticks. My problem is that I want to make a polar plot with ticklabels. To generate such a plot you can use the following simple example script. # # import numpy as np import matplotl

Re: [Matplotlib-users] Basemap white space

2010-04-13 Thread Friedrich Romstedt
2010/4/12 Filipe Pires Alvarenga Fernandes : > Thanks for point TKinter to me. However, I'm stuck again. > > I've tried two approaches, one is following what you suggested: > > """ Tkinter  """ > import Tkinter as tk > root = tk.Tk() > from PIL import Image, ImageTk > image = ImageTk.PhotoImage(Ima

Re: [Matplotlib-users] imshow() : fill certain regions with a specific color.

2010-04-13 Thread Shaexoh6Wi Eweiju5ohx
I saw something about the spy method. Do you think it's possible to use it combined with the imshow() capabilities ? 2010/4/13 Shaexoh6Wi Eweiju5ohx > Hello, > > I would like to ask you a way to fill certain regions with a specific motif > > when running imshow(). I take the following example :

[Matplotlib-users] color and transparency in overlapping regions

2010-04-13 Thread hettling
Dear all, I want to plot 3 overlapping regions using fill() into one panel, but my solution looks sort of messy... Here is the code: === import matplotlib.pyplot as plt import scipy ##Data to plot seq = scipy.sin(range(0,10)) xpts = scipy.concatenate((range(0,10), range(0,10)[::-1])) plt.figure(

Re: [Matplotlib-users] ipython pylab switch, GDAL, Enthought

2010-04-13 Thread Robert Kern
On 2010-04-13 10:18 AM, K. -Michael Aye wrote: > Dear all, > > maybe this should go to the Enthought list, but as the failure is directly > related to the pylab switch of ipython, I thought I try it here first: > > On OSX I have trouble with using the pylab switch for ipython after I copied > the

[Matplotlib-users] imshow() : fill certain regions with a specific color.

2010-04-13 Thread Shaexoh6Wi Eweiju5ohx
Hello, I would like to ask you a way to fill certain regions with a specific motif when running imshow(). I take the following example : For certain value, instead of writing directly a numerical result, I would like to fill my table with 'x'. For other values, with 'o'. How take care of this wit

[Matplotlib-users] ipython pylab switch, GDAL, Enthought

2010-04-13 Thread K. -Michael Aye
Dear all, maybe this should go to the Enthought list, but as the failure is directly related to the pylab switch of ipython, I thought I try it here first: On OSX I have trouble with using the pylab switch for ipython after I copied the gdal.pth into the Enthought site-packages folder (to be ab