Re: [Matplotlib-users] Combination of a box plot and a histogram

2010-10-03 Thread Benjamin Root
On Fri, Oct 1, 2010 at 9:47 AM, Tony S Yu tsy...@gmail.com wrote: On Oct 1, 2010, at 9:40 AM, Benjamin Root wrote: On Thu, Sep 30, 2010 at 8:44 PM, Tony S Yu tsy...@gmail.com wrote: I'd like to make something in between a box plot [1] and a histogram. Each histogram would be represented

Re: [Matplotlib-users] ERROR

2010-10-04 Thread Benjamin Root
On Mon, Oct 4, 2010 at 1:57 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi all, My problem is this error: http://pastebin.com/bfu29WuFhttp://pastebin.com/ZPzdC5c8 my code: http://pastebin.com/KzwEmucN What could be? Thanks Waleria Waleria, I am not entirely familiar

Re: [Matplotlib-users] 3D surfaces and scatter plots have weird alpha behavior?

2010-10-04 Thread Benjamin Root
On Mon, Oct 4, 2010 at 2:21 PM, Erik Tollerud erik.tolle...@gmail.comwrote: I've noticed some odd behavior in the mplot3d toolkit when using scatter3D with plot_surface. What I want to do is generate the surface with an alpha level of 0.5, such that any points that are between me and the

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Benjamin Root
On Tue, Oct 5, 2010 at 7:25 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Benjamin, I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) but the error continue: http://pastebin.com/UwgKS3s5 Thanks, Waleria. On Mon, Oct 4, 2010 at 4:58 PM, Benjamin Root ben.r

Re: [Matplotlib-users] Problem with imsave in matplotlib v1.0

2010-10-05 Thread Benjamin Root
On Tue, Oct 5, 2010 at 6:48 AM, Ensitof ensieta.le...@gmail.com wrote: Dear all, Please find here a really really stupid script for example purpose.. I was developping some Image processing steps using matplotlib 0.99 and everything worked find... However, I upgraded my tools yesterday,

Re: [Matplotlib-users] bug: axes.hitlist() ?

2010-10-06 Thread Benjamin Root
On Tue, Oct 5, 2010 at 11:39 PM, Daniel Hyams dhy...@gmail.com wrote: I've run across a strange problem and perhaps I'm misusing something. I was trying to set up picking so that I can interact with plotted objects, and I get alot of error spew that looks like this: while checking class

Re: [Matplotlib-users] Problem with show()

2010-10-06 Thread Benjamin Root
On Wed, Oct 6, 2010 at 3:21 AM, Jorge Scandaliaris jorgesmbox...@yahoo.eswrote: Jorge Scandaliaris jorgesmbox...@... writes: I was running my example with the -pylab option set in ipython, and adding a call to plt.ion() doesn't change things. I also run gtkagg backend. I guess I have a

Re: [Matplotlib-users] Graph

2010-10-06 Thread Benjamin Root
On Wed, Oct 6, 2010 at 12:13 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi all, I ploted a graph and above this graph I plot another graph about data errors. so, the x-axis scale according with data errors only goes on 1.4, but I would like to display up to 1.5. how I do

Re: [Matplotlib-users] Graph

2010-10-06 Thread Benjamin Root
On Wed, Oct 6, 2010 at 2:36 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Benjamin, I used the 'ax.set_xscale (' log ')', but the points were even more confused. What I need is to increase from 0.0 to 0.2 points, 0.2 to 0.4 ... increase the size of the graph. However I do not

Re: [Matplotlib-users] Issue with Redrawing a Line (numpy.ndarray, set_ydata, and draw)

2010-10-06 Thread Benjamin Root
On Wed, Oct 6, 2010 at 1:06 PM, Michael Cracraft michael.cracr...@gmail.com wrote: I have a code that continuously modifies a numpy.ndarray variable. Then, I use set_ydata on the matplotlib.lines.Line2D object to the same ndarray variable. Then, I call fig.canvas.draw() to redraw the

Re: [Matplotlib-users] Issue with Redrawing a Line (numpy.ndarray, set_ydata, and draw)

2010-10-06 Thread Benjamin Root
On Wed, Oct 6, 2010 at 7:31 PM, Michael Cracraft michael.cracr...@gmail.com wrote: You are correct about the version. I was just working with the version installed on Fedora 13, and the recache works. Looks like a working solution for now. Thanks, Michael Just as a side note because

Re: [Matplotlib-users] show() command does not create plot with agg, only with wx

2010-10-07 Thread Benjamin Root
On Thu, Oct 7, 2010 at 7:55 PM, Jacob Silterra jsil...@gmail.com wrote: Hello, The only backend which works on my machine is wx. The problem I was having was that matplotlib installed fine, but didn't show plots. I tried removing matplotlib and re-installing, that didn't help. I was using

Re: [Matplotlib-users] Confirming problem with matplotlib.pyplot.show()

2010-10-09 Thread Benjamin Root
On Sat, Oct 9, 2010 at 7:41 AM, Paul Leopardi paul.leopa...@iinet.net.auwrote: On Saturday 09 October 2010 22:58:04 Paul Leopardi wrote: Hello all I am seeing a problem similar to that seen by Jorge Scandaliaris. I downgraded from matplotlib 1.0.0 to matplotlib 0.99 and my original

Re: [Matplotlib-users] 3d plot scientific notation problem on x and y axis.

2010-10-11 Thread Benjamin Root
On Sun, Oct 10, 2010 at 8:54 PM, Burak TUYSUZ bzt...@psu.edu wrote: I am trying to show the numbers at x and y axis in scientific notation but it does not work. Can anyone help me. Thank you in advance. Here is the code and fs is 60 000 000. from matplotlib.ticker import

Re: [Matplotlib-users] colormap from blue to transparent to red

2010-10-12 Thread Benjamin Root
On Tue, Oct 12, 2010 at 7:57 AM, Stefan Mauerberger stefan.mauerber...@mnet-online.de wrote: Hi everyone, I am having trouble with colormaps unsing pcolormesh. I would like to plot and colorise a seismic wave field above a map. Plotting works fine but I do not know how to bring transparency

Re: [Matplotlib-users] colormap from blue to transparent to red

2010-10-12 Thread Benjamin Root
On Tue, Oct 12, 2010 at 9:25 AM, Benjamin Root ben.r...@ou.edu wrote: On Tue, Oct 12, 2010 at 7:57 AM, Stefan Mauerberger stefan.mauerber...@mnet-online.de wrote: Hi everyone, I am having trouble with colormaps unsing pcolormesh. I would like to plot and colorise a seismic wave field

Re: [Matplotlib-users] scatter3D

2010-10-13 Thread Benjamin Root
On Wed, Oct 13, 2010 at 5:46 PM, Pedro M. Ferreira pmffferre...@gmail.comwrote: Hi All, I have been trying to make a 3D scatter plot using mplot3d and I would like the markers to have their colour according to the Z value. From what I understood in the tutorial and API I have to use the cmap

Re: [Matplotlib-users] contouf and colorbar

2010-10-14 Thread Benjamin Root
On Thu, Oct 14, 2010 at 7:58 AM, Jeff Whitaker jsw...@fastmail.fm wrote: On 10/14/10 5:21 AM, Bala subramanian wrote: Friends, I wrote a small program to plot a matrix using contourf function. The code is pasted below. The image that is created is attached (1.png). Now if i make the

Re: [Matplotlib-users] scatter3D

2010-10-14 Thread Benjamin Root
On Thu, Oct 14, 2010 at 4:54 AM, Pedro M. Ferreira pmffferre...@gmail.comwrote: Well, it did help at least to understand a bit more, although I still fail to do it. The code in the file axes3d.py says that keyword arguments passed to scatter3D are passed on to matplotlib.scatter, so I would

Re: [Matplotlib-users] How to convert 3D Images into U3D files

2010-10-16 Thread Benjamin Root
On Sat, Oct 16, 2010 at 7:04 AM, Nils Wagner nwag...@iam.uni-stuttgart.dewrote: Hi all, Does anyone know how I can convert my matplotlib 3D images into U3D files ? I found some hints for Matlab users ... Any pointer would be appreciated. Thanks in advance. Nils

Re: [Matplotlib-users] problem of cm.get_cmap('gist_rainbow',256)

2010-10-17 Thread Benjamin Root
On Sun, Oct 17, 2010 at 5:35 PM, braingateway braingate...@gmail.comwrote: Hi Everyone, I am trying the matplotlib. I have to say this is a powerful package for scientific 2-D plotting. However, I encountered some problems when try to generate several colormaps. for example:

Re: [Matplotlib-users] Text overlapping in mplot3d legends

2010-10-24 Thread Benjamin Root
On Mon, Oct 18, 2010 at 8:52 AM, Luis Quesada l.ques...@4c.ucc.ie wrote: Dear all, Is there a way of avoiding the overlap between the text of the labels and the text of the ticks? This is what I am getting:

Re: [Matplotlib-users] How to Reduce White Space Around Figure?

2010-10-25 Thread Benjamin Root
On Mon, Oct 25, 2010 at 11:56 AM, Lorenzo Isella lorenzo.ise...@gmail.comwrote: Dear All, I am aware that this question has already been asked several times on the mailing list, see e.g. http://bit.ly/aPzQTA However, in the following snippet, nothing I tried has been able to reduce the

Re: [Matplotlib-users] Problem in animation cookbook example

2010-10-26 Thread Benjamin Root
On Tue, Oct 26, 2010 at 12:45 AM, Drew Frank drewfr...@gmail.com wrote: I believe I've found a problem with the following cookbook example: http://www.scipy.org/Cookbook/Matplotlib/Animations?action=show#head-3d51654b8306b1585664e7fe060a60fc76e5aa08. Specifically, the example calls

Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard

2010-10-27 Thread Benjamin Root
On Wed, Oct 27, 2010 at 4:19 PM, Pau vim.u...@googlemail.com wrote: Sorry for being negative, but it's reassuring that I took the right decision when I gave back my macbook pro to IT and asked for a thinkpad instead and I installed UNIX on it. You know what I did to install matplotlib on my

Re: [Matplotlib-users] Possible to get variable spacing between certain subplots?

2010-10-28 Thread Benjamin Root
On Thu, Oct 28, 2010 at 1:18 PM, Will Grover wgro...@mit.edu wrote: Hello matplotlib-users, I'm using subplots to make an array of plots, but because some of the plots have wider y-axis tick labels than others, some of the subplots end up looking too close to each other. Here's an image

Re: [Matplotlib-users] sudden problem with basemap and plt.colorbar()

2010-10-28 Thread Benjamin Root
On Thu, Oct 28, 2010 at 3:16 PM, John washa...@gmail.com wrote: Hello, I've been using basemap with plt.colorbar for sometime, but I just recently started to have the problem of: AttributeError: 'NoneType' object has no attribute 'autoscale_None' I ran the fcstmaps.py example (GREAT EXAMPLE

Re: [Matplotlib-users] Trouble with contour plot

2010-10-28 Thread Benjamin Root
On Thu, Oct 28, 2010 at 3:31 PM, Nikolaus Rath nikol...@rath.org wrote: Hello, I'm having a weird problem with a contour plot. Consider the following plots: import cPickle as pickle import matplotlib.pyplot as plt (Theta, Phi, Bnormal) = pickle.load(open('trouble.pickle', 'rb'))

Re: [Matplotlib-users] How to find the version of matplotlib I have?

2010-10-28 Thread Benjamin Root
On Sun, Oct 24, 2010 at 7:49 PM, Richard D. Moores rdmoo...@gmail.comwrote: f have Python 2.6.4 on my 64-bit Vista computer, with matplotlib installed. How can I find what version of matplotlib it is? Thanks, Dick Moores There must be a backlog of messages in the mailing list, sorry for

Re: [Matplotlib-users] pick_event returning wrong indices

2010-10-29 Thread Benjamin Root
On Sat, Oct 23, 2010 at 1:41 PM, Ryan dale dal...@niddk.nih.gov wrote: Here's a problem that's been driving me nuts, and I finally reduced it to a small self-contained script which can be found at http://gist.github.com/642538. The issue is that the pick_event does not always provide the

Re: [Matplotlib-users] Trouble with contour plot

2010-10-29 Thread Benjamin Root
On Fri, Oct 29, 2010 at 12:25 PM, Nikolaus Rath nikol...@rath.org wrote: Benjamin Root ben.root-grryuj3d...@public.gmane.org writes: However, it seems to me that this is quite a serious bug. The contour documentation on http://matplotlib.sourceforge.net/api/axes_api.html

Re: [Matplotlib-users] creating graphs and putting them in a figure afterwards

2010-10-29 Thread Benjamin Root
On Wed, Oct 27, 2010 at 11:08 AM, Bram Sanders sand...@knmi.nl wrote: Hi, I want to create graphs, fully specify their properties and only then combine them in a single figure. The figure instance holding these graphs is made after creating the graphs: I want to decide afterwards what

Re: [Matplotlib-users] help creating a netcdf file with an irregular grid projection (stereographic)

2010-10-29 Thread Benjamin Root
On Fri, Oct 29, 2010 at 7:04 PM, John washa...@gmail.com wrote: Any good tutorials or examples that people could point me to on creating a netcdf file for a grid projected with a stereographic projection? It's not clear to me how you would create the lat / lon dimensions. Thanks, john

Re: [Matplotlib-users] NCEP Grib Definitions

2010-11-02 Thread Benjamin Root
On Tue, Nov 2, 2010 at 5:19 AM, John washa...@gmail.com wrote: Maybe I should also follow up on this and indicate that one variable I really want is the Veg Type defiinitions from the files. It exists in the file from joewheatley's example, (VGTYP_P0_L1_GGA0) but it is on a Gaussian lat/lon

Re: [Matplotlib-users] show(), the state of the art

2010-11-02 Thread Benjamin Root
On Tue, Nov 2, 2010 at 8:31 AM, Daπid davidmen...@gmail.com wrote: On Tue, Nov 2, 2010 at 12:49 PM, David Kremer david.kremer...@gmail.com wrote: Personally I used show() yesterday, and it blocks the execution until the figure's window is closed. It is of perfect convenience I think, as a

Re: [Matplotlib-users] NCEP Grib Definitions

2010-11-02 Thread Benjamin Root
On Tue, Nov 2, 2010 at 9:00 AM, John washa...@gmail.com wrote: Thanks Ben! I guess where I am with this now is that I have found, as you say, the VGTYP in the operational products (the *sflux* grib files), but I don't find it on any of the 0.5 x 0.5 degree files. Which means, that as you

Re: [Matplotlib-users] Bug in set_yscale?

2010-11-02 Thread Benjamin Root
On Tue, Nov 2, 2010 at 8:20 AM, Pål Gunnar Ellingsen paa...@gmail.comwrote: Hi I'm trying to use the linthershy option for symlog in matplotlib.axes.Axes.set_yscale() http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.set_yscalefor values smaller than 1, but the plot

Re: [Matplotlib-users] show(), the state of the art

2010-11-03 Thread Benjamin Root
On Wed, Nov 3, 2010 at 2:19 AM, Michiel de Hoon mjldeh...@yahoo.com wrote: --- On *Tue, 11/2/10, Benjamin Root ben.r...@ou.edu* wrote: I have personally seen significant progress in this area, but there are a few backends that aren't quite right (MacOSX backend, I believe?). As far as I

Re: [Matplotlib-users] annotate arrow drawn slightly off

2010-11-10 Thread Benjamin Root
On Tue, Nov 9, 2010 at 8:44 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Wed, Nov 10, 2010 at 1:01 AM, Jason Grout jason-s...@creativetrax.com wrote: Is the tip of the arrow (after the miter join) supposed to hit (1,1), or is the center of the line supposed to hit (1,1)? Or maybe the

Re: [Matplotlib-users] Axes labels crooked using mplot3d in WX

2010-11-10 Thread Benjamin Root
On Wed, Nov 10, 2010 at 3:12 PM, unij jdavidhei...@unisynmedical.comwrote: I'm trying to use mplot3d in a Wx based application, and most things seem to be working fine. The one issue that keeps tripping me up is that the axes labels are drawn at a weird angle. If I do the same type of plot

Re: [Matplotlib-users] Axes labels crooked using mplot3d in WX

2010-11-11 Thread Benjamin Root
On Thu, Nov 11, 2010 at 8:49 AM, James Davidheiser jdavidhei...@unisynmedical.com wrote: *From:* ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] *On Behalf Of *Benjamin Root On Wed, Nov 10, 2010 at 3:12 PM, unij jdavidhei...@unisynmedical.com wrote: I'm trying to use mplot3d

Re: [Matplotlib-users] Axes labels crooked using mplot3d in WX

2010-11-11 Thread Benjamin Root
On Thu, Nov 11, 2010 at 12:20 PM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Nov 11, 2010 at 9:31 AM, James Davidheiser jdavidhei...@unisynmedical.com wrote: *From:* ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] *On Behalf Of *Benjamin Root *Sent:* Thursday, November 11, 2010 8

Re: [Matplotlib-users] basemap map center issue

2010-11-11 Thread Benjamin Root
On Thu, Nov 11, 2010 at 8:28 AM, andres luhamaa andresluha...@gmail.comwrote: Yes, Your script reproduced the problem. Regards, Andres On 11.11.2010 16:03, Scott Sinclair wrote: A good start is always a self contained script illustrating the problem. I don't have GTKAgg installed here

Re: [Matplotlib-users] Axes labels crooked using mplot3d in WX

2010-11-11 Thread Benjamin Root
On Thu, Nov 11, 2010 at 3:55 PM, James Davidheiser jdavidhei...@unisynmedical.com wrote: *From:* ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] *On Behalf Of *Benjamin Root *Sent:* Thursday, November 11, 2010 12:20 PM *To:* James Davidheiser; Matplotlib Users *Subject:* Re

Re: [Matplotlib-users] Change in pcolor functionality from 0.99.1.1 to 1.0.0

2010-11-12 Thread Benjamin Root
On Fri, Nov 12, 2010 at 5:11 AM, Guy Griffiths guy.griffi...@reading.ac.ukwrote: Hi, I've been using matplotlib for a while for plotting scientific data, and recently upgraded from version 0.99.1.1 to 1.0.0. Primarily I use pcolor to produce plots of concentration in 2D space. I use

Re: [Matplotlib-users] How to set axis limits with text objects ?

2010-11-12 Thread Benjamin Root
On Sun, Nov 7, 2010 at 9:40 AM, LB bravo.l...@gmail.com wrote: Hi, I'm trying to draw a bar chart according to http://matplotlib.sourceforge.net/examples/api/barchart_demo.html, and I'm having to difficulties : - when the first bar has a zero height, it is no taken into account during

Re: [Matplotlib-users] Mac OSX backend

2010-11-13 Thread Benjamin Root
On Sat, Nov 13, 2010 at 12:06 PM, Eric Firing efir...@hawaii.edu wrote: On 11/13/2010 06:16 AM, Michiel de Hoon wrote: --- On Sat, 11/13/10, John Hunterjdh2...@gmail.com wrote: Ie if we have a script like # some plotting commands ... # some expensive non GUI computation

Re: [Matplotlib-users] Mac OSX backend

2010-11-13 Thread Benjamin Root
On Sat, Nov 13, 2010 at 7:58 PM, Michiel de Hoon mjldeh...@yahoo.comwrote: Thanks for your reply. Regarding your first question, how exactly does it disrupt your workflow? Is it because the drawing takes too much time? Or because the focus switches from the terminal window to the figure

Re: [Matplotlib-users] axis coords in y direction and data coords in x direction for text

2010-11-15 Thread Benjamin Root
On Mon, Nov 15, 2010 at 1:40 PM, david.bri...@ubs.com wrote: Hi I’d like to place a piece of text that shows the start of some data so I want data coords in the x direction and axis coords in the y – e.g. float with a particular x value and center in the screen on the y. Do I need to

Re: [Matplotlib-users] Using matplotlib within pyside

2010-11-16 Thread Benjamin Root
On Tue, Nov 16, 2010 at 8:27 AM, Marc Petersen petersen.m...@yahoo.dewrote: Hi, is there a solution for using matplotlib within pyside like it is possible with pyqt4? Greetz Marc Marc, Haven't tried it myself, but someone else did ask this a few months ago.

Re: [Matplotlib-users] Change in pcolor functionality from 0.99.1.1 to 1.0.0

2010-11-16 Thread Benjamin Root
On Mon, Nov 15, 2010 at 4:14 AM, Guy Griffiths guy.griffi...@reading.ac.ukwrote: On Friday 12 Nov 2010 15:20:43 Ryan May wrote: On Fri, Nov 12, 2010 at 8:40 AM, Benjamin Root ben.r...@ou.edu wrote: On Fri, Nov 12, 2010 at 5:11 AM, Guy Griffiths guy.griffi...@reading.ac.uk wrote

Re: [Matplotlib-users] plot polarization map (like ZEMAX)

2010-11-16 Thread Benjamin Root
On Sun, Nov 14, 2010 at 5:17 PM, Kornél Jahn kjahn.pub...@gmail.com wrote: Hello, I would like to plot the polarization state of a two-dimensional vector field (linear, circular or generally elliptic), similarly to that seen on this ZEMAX plot:

Re: [Matplotlib-users] Unknown projection '3d' even with svn version?

2010-11-16 Thread Benjamin Root
On Tue, Nov 16, 2010 at 10:48 AM, Eric Emsellem eemse...@eso.org wrote: Hi, I have just installed the svn version of matplotlib and basemap + numpy from the svn repository of http://download.opensuse.org/repositories/home:/ocefpaf/openSUSE_11.3/x86_64/ When I do:

Re: [Matplotlib-users] Unknown projection '3d' even with svn version?

2010-11-16 Thread Benjamin Root
On Tue, Nov 16, 2010 at 11:24 AM, Eric Emsellem eemse...@eso.org wrote: Dear Ben thanks a lot for the quick reply. I did that (and read some posts on the web) but no luck, as it says: 1.0.0 I in fact just went back to my openSuse 11.3 (Science repo) version because it went really wrong

Re: [Matplotlib-users] How to get axes from a user click?

2010-11-16 Thread Benjamin Root
On Tue, Nov 16, 2010 at 12:01 PM, Nicolas Bigaouette nbigaoue...@gmail.comwrote: Hi all, I have defined some shortcuts I often use using pylab.ginput(). I normally do: fig = pylab.figure() fig.canvas.mpl_connect('key_press_event', on_key) with my on_key function being (simplified):

Re: [Matplotlib-users] Hammer projection grid

2010-11-17 Thread Benjamin Root
On Wed, Nov 17, 2010 at 5:45 AM, Matthias Plum p...@physik.rwth-aachen.dewrote: Hi I am trying to plot data on the sphere and use the hammer projection. The data ploting works fine, but the angular grid isn't shown correctly. In the attached picture you can see the error(mouse pointer is on

Re: [Matplotlib-users] Hammer projection grid

2010-11-17 Thread Benjamin Root
On Wed, Nov 17, 2010 at 8:44 AM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Nov 17, 2010 at 5:45 AM, Matthias Plum p...@physik.rwth-aachen.de wrote: Hi I am trying to plot data on the sphere and use the hammer projection. The data ploting works fine, but the angular grid isn't shown

Re: [Matplotlib-users] Unknown projection '3d' even with svn version?

2010-11-17 Thread Benjamin Root
On Wed, Nov 17, 2010 at 2:32 AM, Eric Emsellem eemse...@eso.org wrote: yes, it looks like this is the right file (when I look at matplotlib.__file__) Now tracing which routines are run when doing this, it looks like it looks for projection in projections/__init__.py after going through

Re: [Matplotlib-users] Unknown projection '3d' even with svn version?

2010-11-17 Thread Benjamin Root
On Wed, Nov 17, 2010 at 1:54 PM, Eric Emsellem eemse...@eso.org wrote: Dear Ben thanks a lot for this thoughful answer. When I use only ipython and not ipython -pylab IT WORKS!!! So this is a problem with ipython -pylab call... Any thought of why this is? Possibly ipython is somehow

Re: [Matplotlib-users] Weird white stripes when using matplotlib.pyplot countourf

2010-11-17 Thread Benjamin Root
On Wed, Nov 17, 2010 at 5:37 PM, Eric Firing efir...@hawaii.edu wrote: On 11/17/2010 01:28 PM, Ognjen Ilic wrote: Thanks for the help. However, when I change the matplotlibrc file I get the following message Bad key path.simplify on line 267 in /HOME/.matplotlib/matplotlibrc. You

Re: [Matplotlib-users] Control of thread/program not returning to ipython after creating a plot.

2010-11-17 Thread Benjamin Root
On Wed, Nov 17, 2010 at 6:54 PM, Collin Day dcday...@gmail.com wrote: Either I updated something that changed Matplotlib's behavior or I am missing something, but when I make a plot in ipython, control is not returning to the prompt - I can't do anything until I close the plot. Here is

Re: [Matplotlib-users] Control of thread/program not returning to ipython after creating a plot.

2010-11-17 Thread Benjamin Root
On Wed, Nov 17, 2010 at 7:38 PM, Collin Day dcday...@gmail.com wrote: On Wed, 17 Nov 2010 19:00:54 -0600 Benjamin Root ben.r...@ou.edu wrote: Another data point - I tried Qt4Agg - it also works interactively - ie it goes back to the ipython cmd line. I also noticed when I start ipython

Re: [Matplotlib-users] bar with zero data

2010-11-22 Thread Benjamin Root
On Mon, Nov 22, 2010 at 7:56 AM, andres luhamaa andresluha...@gmail.comwrote: Hello! I see strange behaviour in plotting bars with dates on x-axis. Example attached, problem seems to arise only after duplicating x-axis and with all-zero data. good.png is with non-zero data and bad.png with

Re: [Matplotlib-users] Hammer projection grid

2010-11-22 Thread Benjamin Root
On Mon, Nov 22, 2010 at 6:59 AM, Tobias Winchen winc...@physik.rwth-aachen.de wrote: Dear all, On Wednesday 17 November 2010 Benjamin Root wrote: Nevermind about the example script, I tested it myself and verified the problem. The fix was simple. We were missing a square root

Re: [Matplotlib-users] Possible memory leak?

2010-11-22 Thread Benjamin Root
On Fri, Nov 19, 2010 at 3:14 PM, Caleb Constantine cadamant...@gmail.comwrote: On Thu, Nov 18, 2010 at 4:50 PM, Benjamin Root ben.r...@ou.edu wrote: Caleb, Interesting analysis. One possible source of a leak would be some sort of dangling reference that still hangs around even though

Re: [Matplotlib-users] Unknown projection '3d' even with svn version?

2010-11-22 Thread Benjamin Root
On Thu, Nov 18, 2010 at 2:30 AM, Eric Emsellem eemse...@eso.org wrote: Ok problem(s) solved, thanks a lot for the efficient help (this also taught me how to go through the code more thoroughly) * for the record: I had a pylab.py in the site-packages directory, probably a left-over from some

Re: [Matplotlib-users] Problem viewing mplot3d figure

2010-11-22 Thread Benjamin Root
On Mon, Nov 22, 2010 at 11:44 AM, Miguel Costa migueldiasco...@gmail.comwrote: Hello all. I'm attempting to use bar3d to plot a packing solution but from some viewpoints the perspective is wrong (boxes seem overlapped), and with a large number of boxes the plot is always incoherent. (I'm

Re: [Matplotlib-users] Possible memory leak?

2010-11-22 Thread Benjamin Root
On Mon, Nov 22, 2010 at 11:32 AM, Eric Firing efir...@hawaii.edu wrote: On 11/22/2010 06:15 AM, Benjamin Root wrote: On Fri, Nov 19, 2010 at 3:14 PM, Caleb Constantine cadamant...@gmail.com mailto:cadamant...@gmail.com wrote: On Thu, Nov 18, 2010 at 4:50 PM, Benjamin Root ben.r

Re: [Matplotlib-users] small bugfix in font_manager.py

2010-11-25 Thread Benjamin Root
On Wednesday, November 24, 2010, Daniel Hyams dhy...@gmail.com wrote: MPL 1.0.0, OSX If USE_FONTCONFIG is turned on, the function FontProperties.get_size_in_points will sometimes fail, because it is wanting to use fontManager, which is still 'None' if USE_FONTCONFIG is on.  I'm not sure if

Re: [Matplotlib-users] lines not shown within transparent marker?

2010-11-26 Thread Benjamin Root
On Friday, November 26, 2010, C M cmpyt...@gmail.com wrote: This is not important at all and unlikely to be supported, but just out of curiosity: Is it possible to set matplotlib such that, when using the 'o-' marker style (marker connected by lines) and partially transparent markers, the

Re: [Matplotlib-users] pylab

2010-11-26 Thread Benjamin Root
On Thursday, November 25, 2010, robert fujii robertf...@gmail.com wrote: Hello - I am using python 2.6, numpy-1.3.0-win32- superpack-python2.6, scipy-0.7.1-win32-superpack-python2.6, sympy-0.6.7.win32, matplotlib-1.0.0.win32-py2.6, and brian-1.2.1.win32. I would like to import pylab ,

Re: [Matplotlib-users] Matplotlib Windows binaries - problem

2010-11-26 Thread Benjamin Root
On Friday, November 26, 2010, Fred Pollard fred.poll...@gmail.com wrote: Hi, I'm trying to install matplotlib on a windows machine at work to try and demonstrate its usefulness.  I have Python 2.6 installed and managed to use the numpy binary install without admin priviledges. The

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-28 Thread Benjamin Root
On Sunday, November 28, 2010, Nicolas Pinto nicolas.pi...@gmail.com wrote: Dear all, I'm trying to get rid of the mplot3d background (in vain, see below), how can I do this? Thanks for your help. Best, Nicolas demo: from mpl_toolkits.mplot3d import axes3d, axis3d import

Re: [Matplotlib-users] display each images from a directory

2010-11-29 Thread Benjamin Root
On Mon, Nov 29, 2010 at 1:48 PM, Massimo Di Stefano massimodisa...@gmail.com wrote: Hello All, i'm tring to write python code to display images from a directory .. but i'm not able to learn how to use the matplotlib events to handle how the images will be displaied. simpli i need to pass

Re: [Matplotlib-users] normal x-y axes without a box

2010-11-30 Thread Benjamin Root
On Tue, Nov 30, 2010 at 2:49 AM, David Pine d...@nyu.edu wrote: Is there a simple way to make a plot with axes that look like those in test1.png rather than like those in test.png? Here is the code that produced test.png. Thanks. Dave Pine import numpy as np import matplotlib.pyplot as

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-30 Thread Benjamin Root
for the quick reply Ben. Let me know how I can help. Regards, N On Sun, Nov 28, 2010 at 6:54 PM, Benjamin Root ben.r...@ou.edu wrote: On Sunday, November 28, 2010, Nicolas Pinto nicolas.pi...@gmail.com wrote: Dear all, I'm trying to get rid of the mplot3d background (in vain, see below

Re: [Matplotlib-users] Matplotlib wont compile on ubuntu

2010-12-03 Thread Benjamin Root
On Fri, Dec 3, 2010 at 8:49 AM, Matt m...@mapopolis.com wrote: LINUX Linux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux GCC gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. MATPLOTLIB

Re: [Matplotlib-users] Matplotlib wont compile on ubuntu

2010-12-03 Thread Benjamin Root
On Fri, Dec 3, 2010 at 9:06 AM, Matt m...@mapopolis.com wrote: Thanks so much, Ben, that did work. Matt On Fri, Dec 3, 2010 at 2:57 PM, Benjamin Root ben.r...@ou.edu wrote: On Fri, Dec 3, 2010 at 8:49 AM, Matt m...@mapopolis.com wrote: LINUX Linux ubuntu 2.6.35-22-generic #33

Re: [Matplotlib-users] plotting tab and comma delimited file (LTSpice waveform export)

2010-12-03 Thread Benjamin Root
On Fri, Dec 3, 2010 at 8:34 PM, K. Larsen kroy...@gmail.com wrote: The LTSpice circuit simulation program outputs a file that looks like this: Freq. V(n003) V(n005) V(n007) 1.0e+000(-1.68072e+002dB,1.79085e+002°) (-1.71453e-006dB,-3.6e-002°)(-8.40364e+001dB,8.99964e+001°)

Re: [Matplotlib-users] (no subject)

2010-12-04 Thread Benjamin Root
On Sat, Dec 4, 2010 at 7:41 AM, prem kiran premiitm...@gmail.com wrote: hi I have got a parametric equation in string form .Now , i want to plot the function for the above equation and find slope for some points on the function.Is there a way to find it using the matplotlib library

Re: [Matplotlib-users] (no subject)

2010-12-05 Thread Benjamin Root
On Sun, Dec 5, 2010 at 5:29 AM, prem kiran premiitm...@gmail.com wrote: THANK YOU thank you for the response .I have problem using sympy libraray in python.I am unable to use plot module .I am unable to import it .what i require is given a function ,i should be able to plot

Re: [Matplotlib-users] LinearSegmentedColormap, Normalize, and colorbar

2010-12-10 Thread Benjamin Root
On Wed, Dec 8, 2010 at 9:15 PM, Timothy W. Hilton hil...@meteo.psu.eduwrote: Hello, I'm trying to teach myself to create custom colormaps to highlight certain aspects of a dataset I am working with. The script below produces two plots -- the first shows a 4x4 array foo of random floats

Re: [Matplotlib-users] Editing a colorbar

2010-12-10 Thread Benjamin Root
On Thu, Dec 9, 2010 at 9:01 AM, Ian Harry ian.ha...@astro.cf.ac.uk wrote: Hi all, I am having a problem with manipulating colorbars. I want to take the cm.Blues colorbar and edit it so that the lowest end of the colorbar is light blue instead of white, or in other words I want to remove the

Re: [Matplotlib-users] Editing a colorbar

2010-12-10 Thread Benjamin Root
[cm.Blues.N/3:-3, :-1], 256) AttributeError: class LinearSegmentedColormap has no attribute 'from_list' Am I missing something? Thanks Ian On 10 December 2010 15:50, Benjamin Root ben.r...@ou.edu wrote: On Thu, Dec 9, 2010 at 9:01 AM, Ian Harry ian.ha...@astro.cf.ac.ukwrote: Hi all, I am

Re: [Matplotlib-users] using plot(single_object)

2010-12-13 Thread Benjamin Root
On Sun, Dec 12, 2010 at 11:51 AM, Jose Guzman sjm.guz...@googlemail.comwrote: I was wondering if there is an easy way to combine two vectors (x and y) into a single object to be ploted with the plot() method in matplotlib. Untill now, I did something like: import matplotlib.pyplot as plt

Re: [Matplotlib-users] AttributeError subplot2grid

2010-12-13 Thread Benjamin Root
On Mon, Dec 13, 2010 at 2:13 PM, Ryan May rma...@gmail.com wrote: On Mon, Dec 13, 2010 at 2:07 PM, vt603800 vt603...@base.be wrote: I get this error: AttributeError: 'module' object has no attribute 'subplot2grid' Are some modules not installed? or is there another problem, I'm a newby

Re: [Matplotlib-users] Problems installing MPL on OS X 10.6 Snow Leopard with python2.7

2010-12-13 Thread Benjamin Root
On Monday, December 13, 2010, Uri Laserson laser...@mit.edu wrote: Hi all, I am trying to install matplotlib on a MacMini Intel Core 2 Duo with a clean install of Mac OS X 10.6.  I am using python 2.7 that I built from source using the homebrew package installer.  I also installed numpy

Re: [Matplotlib-users] Problems installing MPL on OS X 10.6 Snow Leopard with python2.7

2010-12-13 Thread Benjamin Root
On Monday, December 13, 2010, Uri Laserson laser...@mit.edu wrote: Can you try importing pyplot from a regular python prompt?  If that works, then the issue is with ipython messing up the import process of mpl.  I get exactly the same problem... laser...@hobbes:~$ pythonPython 2.7.1

Re: [Matplotlib-users] One legend, two axes?

2010-12-14 Thread Benjamin Root
On Tue, Dec 14, 2010 at 2:29 PM, Skip Montanaro s...@pobox.com wrote: I am plotting a time series, a handful of moving averages and the standard deviation of one of the moving averages. The first crop of data are all in an overlapping range so are plotted using the left-hand y axis. The

Re: [Matplotlib-users] Problems installing MPL on OS X 10.6 Snow Leopard with python2.7

2010-12-14 Thread Benjamin Root
On Mon, Dec 13, 2010 at 5:54 PM, Uri Laserson laser...@mit.edu wrote: Well, on my Linux system, when I get that error, it happens when I do an update of numpy, but fail to rebuild mpl. Here is the order how I build things: numpy, scipy, matplotlib. I would imagine ipython goes last.

Re: [Matplotlib-users] Exclude invisible artists from a relim() and autoscale_view()?

2010-12-15 Thread Benjamin Root
On Wed, Dec 15, 2010 at 8:13 AM, Åke Kullenberg ake.kullenb...@gmail.comwrote: I am using matplotlib in a wxpython application where series are added dynamically to subplots in a figure. I added the very handy option to toggle series' visibility (by calling set_visible(False). The catch is

Re: [Matplotlib-users] AttributeError subplot2grid

2010-12-15 Thread Benjamin Root
On Tue, Dec 14, 2010 at 2:29 PM, vt603800 vt603...@base.be wrote: I tried to upgrade to version 1.0 but without success. Could anybody tell where it went wrong? I downloaded the package matplotlib-1.0.0.tar.gz from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/

Re: [Matplotlib-users] hatch can not be saved as eps

2010-12-15 Thread Benjamin Root
On Wed, Dec 15, 2010 at 6:25 AM, Teng Liu lewtonst...@gmail.com wrote: Linux 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686 GNU/Linux matplotlib 0.99.1.1 The script below is copied from http://matplotlib.sourceforge.net/examples/pylab_examples/hatch_demo.html It works.

Re: [Matplotlib-users] text annotation

2010-12-15 Thread Benjamin Root
On Wed, Dec 15, 2010 at 9:46 AM, Benoist Laurent beno...@ibpc.fr wrote: Hi all, I'm still a bit stuck with this probleme of polar annotation. Let me present the problem in a different way. I've got the center of my circle, its radius and even some points on the circle. Actually, I'd like

Re: [Matplotlib-users] x-axis display

2010-12-15 Thread Benjamin Root
On Mon, Dec 13, 2010 at 9:10 PM, Xunchen Liu xunchen@gmail.com wrote: Hello, I'm plotting some experimental data and found my x axis variable are displayed like 1, 2, 3, +1000. It seems depend on how you set a stopper or something. I'm wondering how to make it display just 1001, 1002,

Re: [Matplotlib-users] setting x/yrange on a pcolor plot

2010-12-15 Thread Benjamin Root
On Wed, Dec 15, 2010 at 4:08 PM, Ben Elliston b...@air.net.au wrote: I am trying to plot an 840 x 680 element matrix using pcolor. matplotlib has decided that the xrange should be 900 and the yrange 700. Is there a way to tell matplotlib to always use x/yranges that always match the

Re: [Matplotlib-users] memory problem in imshow

2010-12-16 Thread Benjamin Root
On Monday, December 13, 2010, usherbsallen steve.al...@usherbrooke.ca wrote: Hi, I am using imshow to illustrate the content of arrays. But I am having problems when arrays are too large. There seem to be a limitation that is not due to the computer memory size. My data are unsigned integer 1

Re: [Matplotlib-users] image conversion

2010-12-16 Thread Benjamin Root
On Friday, December 10, 2010, Robert Field robert.fi...@nominum.com wrote: Newbie here, and trying to wade through this stuff, and it's not coming too quickly.  I'm just trying to take svg data I already have and turn it around into png/pdf/jpg files.  Surely this is not terribly difficult.

Re: [Matplotlib-users] RuntimeError and fontCache

2010-12-17 Thread Benjamin Root
On Friday, December 17, 2010, Nat Echols nathaniel.ech...@gmail.com wrote: I updated the version of matplotlib distributed with our group's software to 1.0.0 a week and a half ago (we also use wxPython 2.8.11.0 and Python 2.7).   Since then, multiple users (all on Mac, so far, although we also

Re: [Matplotlib-users] Adding 2 Line2D objects to a Subplot

2010-12-20 Thread Benjamin Root
On Monday, December 20, 2010, Jose Guzman sjm.guz...@googlemail.com wrote: Hi everybody I wanted to collect a combination of plots to insert then in a subplot. I choose to create Line2D objects to use the .add_line() method of the AxesSubplot class, but unfortunately this does lead to

<    1   2   3   4   5   6   7   8   9   10   >