[Matplotlib-users] circle not drawn correctly when axis is flipped

2007-12-11 Thread Matthew Auger
I'm trying to plot a circle AND flip an axis of the plot, but this leads to an inverted circle (diamond) being drawn. Is there any way to do this 'neatly' (besides, for example, manually editing the axis labels or using a many-sided polygon to fake a circle)? Note that the circle renders

Re: [Matplotlib-users] histogram question

2007-09-24 Thread Matthew Auger
I wrote the following code to do this for me...it is not entirely general (in the sense that it doesn't accept all kwargs beyond bins and hatch) and also allows me to do my own normalization But you should be able to use it pretty easily. def open_hist(arr,bins=10,norm=None,hatch=None):

[Matplotlib-users] text element mixed coordinate systems

2007-07-19 Thread Matthew Auger
Hi...I'm interested in plotting text elements with the X value in data coordinates and the Y value in axis coordinates (in this way I could plot labels at the top of the axes that would respond to zooming/panning in the X-direction but would *always* remain at the top of the axes as long as

Re: [Matplotlib-users] os x backends

2007-06-01 Thread Matthew Auger
I think we want to keep matplotlib associated with the OS X Framework install of python; if we installed the macports version, am I correct in assuming that we could just dump the resulting python modules (eg. gtk, tkinter, and matplotlib) into the Framework install's site-packages dir (or

[Matplotlib-users] os x backends

2007-05-31 Thread Matthew Auger
I've recently needed to use matplotlib remotely from a 'server' running OS X. The server does not have GTK on it, and the server's version of Tk is bound to Aqua instead of X11 and I therefore can't remotely spawn a matplotlib GUI window. My question: Does anyone know of an *easy* way to get a

Re: [Matplotlib-users] problem with saving eps and ps with GTKAgg backend (and current head of SVN)

2007-05-10 Thread Matthew Auger
I was having the same problem, but the recent xpdf thread pointed me to a/the solution. I was able to successfully run your script by outputting as eps instead of ps (which produced truncated output, as you were experiencing). Matt On Thu, 10 May 2007, Johann Cohen-Tanugi wrote: Well,

[Matplotlib-users] problem with raw_input and event handlers

2007-02-24 Thread Matthew Auger
Hi all...I am connecting an event handler that collects user input via raw_input. When using GTKAgg as my backend, this works but requires the user to first hit 'enter' before the raw_input prompt is displayed--this extra step of hitting enter is quite cumbersome! When I use the TKAgg backend,

[Matplotlib-users] display GUI scientific notation

2007-02-20 Thread Matthew Auger
We are starting to use matplotlib to do some analysis of our data, but we are hampered by the unfortunate choice of significant digits in the GUI. I hacked the backends for 0.87.7 to display (many) more significant digits and I was wondering if anyone had any better suggestions (ie that I