[Matplotlib-users] Polar Photometry Plots?

2010-03-01 Thread R Fritz
I'd like to be able to generate type C photometry plots with matplotlib. The standard co-ordinate system for these has 0 degrees at the bottom (nadir) of the plot, with values increasing counterclockwise. Is there anyway I can transform the co-ordinates that matplotlib uses to do this? -- Rand

Re: [Matplotlib-users] half-filled markers, two-colors

2010-03-01 Thread Jae-Joon Lee
John and T J, L1587 at lines.py def set_mfc(self, val): 'alias for set_markerfacecolor' self.set_markerfacecolor(val, alt=alt) "alt" is not defined and it currently raises an exception. By the way, I noticed that the current approach is to implement fillstyle for EVERY marke

Re: [Matplotlib-users] half-filled markers, two-colors

2010-03-01 Thread John Hunter
On Mon, Mar 1, 2010 at 8:12 PM, Jae-Joon Lee wrote: > John and T J, > > L1587 at lines.py > >    def set_mfc(self, val): >        'alias for set_markerfacecolor' >        self.set_markerfacecolor(val, alt=alt) > > "alt" is not defined and it currently raises an exception. Fixed -- thanks for the

Re: [Matplotlib-users] imshow size limitations?

2010-03-01 Thread Friedrich Romstedt
2010/2/27 David Goldsmith : > ax.imshow(image[0:ny/2+1, 0:nx/2+1]) # upper left corner of image >     ax.imshow(argW[ny/2+1:-1, 0:nx/2+1]) # lower left corner of image >     ax.imshow(argW[0:ny/2+1, nx/2+1:-1]) # upper right corner of image >     ax.imshow(argW[ny/2+1:-1, nx/2+1:-1]) # lower ri

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-03-01 Thread Gökhan Sever
On Mon, Mar 1, 2010 at 8:36 AM, Michael Droettboom wrote: > Alan G Isaac wrote: > >> Gökhan Sever wrote: > >> > >>> For the second idea you mean something as generic as plotting such > >>> markers? > >>> plt.plot(range(10), linestyle='None', marker=u'※ ') > >>> > > > > > > On 3/1/2010 8:33 AM, M

Re: [Matplotlib-users] how to increase tick thickness

2010-03-01 Thread Gökhan Sever
On Mon, Mar 1, 2010 at 2:27 PM, Matthew MacLeod wrote: > Dear matplolib users, > > > I am wondering if anyone knows how to increase the tick thickness, that is > the tick linewidth? Mine are too thin. > > Thanks Goekhan and JJ for the help previously on how to increase the tick > size, to fix the

[Matplotlib-users] how to increase tick thickness

2010-03-01 Thread Matthew MacLeod
Dear matplolib users, I am wondering if anyone knows how to increase the tick thickness, that is the tick linewidth? Mine are too thin. Thanks Goekhan and JJ for the help previously on how to increase the tick size, to fix the xtick.major.size in the matplotlib rc. That did make my ticks lon

[Matplotlib-users] Contour with locator=FixedLocator(...) drops first and last contours from the list.

2010-03-01 Thread David Smith
This is a bug report. I am using matplotlib 0.99.1 on Windows. When using contour with the keyword argument locator=ticker.FixedLocator(levels), the plot is always dropping the first and last contour level. If there are less than 3 levels, contour.py throws an exception. My workaround is to dup

[Matplotlib-users] Memory leak

2010-03-01 Thread kwabena1
Hello I have encountered memory leak when using pylab.figure(), pylab.show(), pylab.close(). I expected pylab.close() to flush the memory but this was not the case. what am i doing wrong? Thanks in advance Below is simple example import os, sys, time import gc import matplotlib matplotlib.use('T

Re: [Matplotlib-users] Transparency with fig.canvas.mpl_connect

2010-03-01 Thread brianjpetersen
Thanks so much John! That does the trick. I'm just a new user of mpl, so your question about whether the default behavior of draw should be changed is probably "above my pay grade." I just don't know the API well enough to comment intelligently about it. That said, I would suggest that this be

Re: [Matplotlib-users] Max Size of an Attachment?

2010-03-01 Thread Wayne Watson
I use Tbird, and I think any jpg file I send is encoded in an acceptable format for e-mail delivery. Aside from using attachments here, I recently noticed another Python list only allows 40K. On 3/1/2010 7:58 AM, John Hunter wrote: > On Mon, Mar 1, 2010 at 9:45 AM, Wayne Watson > wrote: >

Re: [Matplotlib-users] Max Size of an Attachment?

2010-03-01 Thread John Hunter
On Mon, Mar 1, 2010 at 9:45 AM, Wayne Watson wrote: > See Subject.  Is it 40K? The max size of the message body is 200K. If you are sending attachments, they will be mime encoded, so they encoding may be larger than the file size, and the limit applies to the encoded size. I am the list moderat

[Matplotlib-users] Max Size of an Attachment?

2010-03-01 Thread Wayne Watson
See Subject. Is it 40K? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet Stop the illegal killing of dolphins and porpoises.

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-03-01 Thread Alan G Isaac
On 3/1/2010 9:36 AM, Michael Droettboom wrote: > What if you want to use the letter 'o' as a marker? That to me seems like a potential source of confusion, as well as a little bit limiting. What would the escaping syntax be to use the letter 'o'? Maybe: allow only unicode strings as string ma

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-03-01 Thread Michael Droettboom
Alan G Isaac wrote: >> Gökhan Sever wrote: >> >>> For the second idea you mean something as generic as plotting such >>> markers? >>> plt.plot(range(10), linestyle='None', marker=u'※ ') >>> > > > On 3/1/2010 8:33 AM, Michael Droettboom wrote: > >> Yes -- but it can't be quite this

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-03-01 Thread Alan G Isaac
> Gökhan Sever wrote: > > For the second idea you mean something as generic as plotting such > > markers? > > plt.plot(range(10), linestyle='None', marker=u'※ ') On 3/1/2010 8:33 AM, Michael Droettboom wrote: > Yes -- but it can't be quite this simple, since there is already a set > of strings

Re: [Matplotlib-users] using the symbol font in TeX plots

2010-03-01 Thread Michael Droettboom
Gökhan Sever wrote: > Thanks again. I didn't know it was complete :) > > For the second idea you mean something as generic as plotting such > markers? > > plt.plot(range(10), linestyle='None', marker=u'※ ') Yes -- but it can't be quite this simple, since there is already a set of strings that hav

Re: [Matplotlib-users] imshow size limitations?

2010-03-01 Thread Jeff Whitaker
David Goldsmith wrote: > --- On Sun, 2/28/10, David Goldsmith wrote: > > >> Question 2) is there some way I can add >> >>> pieces of the >>> > array incrementally to > >> the image into their proper place, >> >> i.e., >> >

[Matplotlib-users] Importing pylab causes exception - any ideas?

2010-03-01 Thread Jon Moore
en Python(x,y) but to no avail. This seems odd to me as 2 other PCs at work install Python(x,y) and run Pylab fine. Any suggestions as to what I should check to track down this error? Thanks Jon __ Information from ESET NOD32 Antivirus, version of virus signature database 4904 (201

Re: [Matplotlib-users] Optimal positioning of text

2010-03-01 Thread Andrea Gavana
Hi Jae-Joon & All, On 28 February 2010 03:09, Jae-Joon Lee wrote: > If I read your correctly, > >       for l, b in zip(x, y): > >          # And here  I work with data coordinates (!) > >           dashBox = Bbox.from_bounds(l, b, width+5, height+5) >           badness = 0 >           for line in

Re: [Matplotlib-users] imshow size limitations?

2010-03-01 Thread David Goldsmith
--- On Sun, 2/28/10, David Goldsmith wrote: > > >> > Question 2) is there some way I can add > > pieces of the > > >> array incrementally to > > >> > the image into their proper place, > i.e., > > modify the > > >> following code: > > >> > > > >> >     ax.imshow(image[0:ny/2+1, > 0:nx/2+1]) # > >