Re: [Matplotlib-users] cumulative percentage

2008-11-01 Thread John Hunter
On Sat, Nov 1, 2008 at 2:53 PM, sandric ionut [EMAIL PROTECTED] wrote: How can I plot cumulative percentage with matplotlib? Please, can someone give me an example? Take a look at the extended histogram examples at

Re: [Matplotlib-users] cumulative percentage

2008-11-01 Thread John Hunter
On Sat, Nov 1, 2008 at 3:35 PM, sandric ionut [EMAIL PROTECTED] wrote: Hi: I did had a look before, but I couldn't find a good example I was hoping to get an example from the list The example is in the link I posted

Re: [Matplotlib-users] no canvas reinitialization between calls to savefig

2008-10-31 Thread John Hunter
On Fri, Oct 31, 2008 at 6:43 AM, Jae-Joon Lee [EMAIL PROTECTED] wrote: The Agg backend has a clear() method which fills the canvas with (1, 1, 1, 0). I tried to put this method in a few different places. It worked for savefig(), but I couldn't get it work in the interactive backend

Re: [Matplotlib-users] question about figsize keyword of figure(..)

2008-10-27 Thread John Hunter
On Mon, Oct 27, 2008 at 6:48 PM, Eric Firing [EMAIL PROTECTED] wrote: It appears that the figure gets *bigger* as I make a and b *smaller* !??! You will need to be more explicit about what you are doing to reach this conclusion. What he is probably seeing comes from the fact that some of

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-23 Thread John Hunter
On Thu, Oct 23, 2008 at 9:53 AM, Ryan May [EMAIL PROTECTED] wrote: I'll comment that the new site looks absolutely awesome. I've turned quite a few heads around here when I show people the new site and docs, especially the gallery. Great work guys! One question, how is the list of plotting

Re: [Matplotlib-users] GUI neutral animation example doesn't work with WxAgg/Wx

2008-10-23 Thread John Hunter
On Thu, Oct 23, 2008 at 10:30 AM, Tony S Yu [EMAIL PROTECTED] wrote: The GUI neutral animation example from the SciPy cookbook doesn't seem to work for Wx or WxAgg backends. A plot window opens but nothing happens. It appears to be some weird problem with ion on wx. GUI neutral animation is

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-23 Thread John Hunter
On Thu, Oct 23, 2008 at 10:51 AM, Ryan May [EMAIL PROTECTED] wrote: I've done it for barbs and I'll see if I notice anything else as time allows. Obviously I'm biased towards certain functionality. :) I'm guessing you guys have to do regenerate the docs and push them somewhere before any of

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-23 Thread John Hunter
On Thu, Oct 23, 2008 at 11:44 AM, Michael Droettboom [EMAIL PROTECTED] wrote: It's probably just that John didn't rebuild matplotlib itself and then clean before republishing the docs. Your change works for me locally. I think the trick is I also have to touch the pymods_api.rst doc. I did

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-22 Thread John Hunter
On Wed, Oct 22, 2008 at 1:38 PM, Anthony Floyd [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 11:00 AM, Michael Droettboom [EMAIL PROTECTED] wrote: Some of the documentation has not yet been reformatted to reST for Sphinx. There is a status page here:

Re: [Matplotlib-users] Matplotlib in Cygwin

2008-10-21 Thread John Hunter
On Tue, Oct 21, 2008 at 8:48 AM, Pete [EMAIL PROTECTED] wrote: gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/lib/python2.5/site-packages/numpy-1.2.0-py2.5-cygwin-1.5.25-i686.egg/numpy/core/include -I/usr/include/freetype2 -I/usr/include -I. -I/usr/include/python2.5

Re: [Matplotlib-users] different behaviour of get_xlim in mpl 0.91.4 and mpl-svn 0.98.3

2008-10-21 Thread John Hunter
On Tue, Oct 21, 2008 at 7:13 AM, Matthias Michler [EMAIL PROTECTED] wrote: Hello list, rehashing an old script I recognized I essential difference between mpl 0.91.4 and mpl-svn 0.98.3 $Revision: 6203 $. In 0.91.4 ax.get_xlim() return a tuple with the current xlimits. In 0.98.3

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-21 Thread John Hunter
On Fri, Oct 17, 2008 at 12:37 PM, Zane Selvans [EMAIL PROTECTED] wrote: A thumbnail gallery of all the examples in the User's Guide and Examples is a great idea! Plots are inherently visual, and humans have a huge amount of built-in visual processing power. Searching a even an enormous page

Re: [Matplotlib-users] Fwd: contour legend

2008-10-20 Thread John Hunter
On Mon, Oct 20, 2008 at 6:57 AM, Jakub Urban [EMAIL PROTECTED] wrote: C:\Python25\lib\site-packages\matplotlib\legend.pyc in _update_positions(self, r enderer) 521 ydata = y*np.ones(handle.get_xdata().shape, float) 522 handle.set_ydata(ydata+h/2.) --

Re: [Matplotlib-users] Matplotlib in Cygwin

2008-10-20 Thread John Hunter
On Mon, Oct 20, 2008 at 6:33 AM, Pete [EMAIL PROTECTED] wrote: Has anyone had any luck compiling Matplotlib using cygwin? Out of the box I get the following: (I have numpy, tcl/tk and libpng1.2 installed) ~/matpl/matplotlib-0.98.3$ python setup.py build

Re: [Matplotlib-users] Figures missing from matplotlib documentation?

2008-10-14 Thread John Hunter
On Mon, Oct 13, 2008 at 6:56 PM, Eric Firing [EMAIL PROTECTED] wrote: However, unfortunately there appears to be some problem with the generation of the figures which are supposed to be embedded within that documentation - they're all appearing as nothing but blank white spaces, both in

Re: [Matplotlib-users] Figures missing from matplotlib documentation?

2008-10-14 Thread John Hunter
On Tue, Oct 14, 2008 at 7:35 AM, Michael Droettboom [EMAIL PROTECTED] wrote: I saw this blank image problem a couple of weeks ago, and I was seeing it in my local doc builds as well. It appeared then that this change broke inline plots: r6089 | jdh2358 | 2008-09-13 10:28:09 -0400 (Sat, 13

Re: [Matplotlib-users] how to tell if a point is inside a polygon

2008-10-14 Thread John Hunter
On Tue, Oct 14, 2008 at 2:58 PM, Eric Firing [EMAIL PROTECTED] wrote: mask = (PyArrayObject *)PyArray_SimpleNew(1,dimensions,PyArray_INT); in nxutils.cpp would become mask = (PyArrayObject *)PyArray_SimpleNew(1,dimensions, NPY_BOOL); Can anyone think of anything this would break, or any

Re: [Matplotlib-users] how do I get my axis

2008-10-13 Thread John Hunter
On Mon, Oct 13, 2008 at 2:27 PM, Mathew Yeates [EMAIL PROTECTED] wrote: Angus pointed out that I need to do res.fmt_xdata=foo Duh. I was evaluating foo. But this still doesn't work! The default formatting operation is still called. This is the correct usage -- so if it is not working you

Re: [Matplotlib-users] Alter graph/labels based on zoom level

2008-10-12 Thread John Hunter
On Sun, Oct 12, 2008 at 9:01 PM, bwgoudey [EMAIL PROTECTED] wrote: Hi, At the moment, I have a graph which has an un labelled x-axis and all i'm drawing is a filled green rectangle every so often. I would like make it so that when I zoom in to my graph past a certain threshold, the

Re: [Matplotlib-users] Change ticks font size with API

2008-10-10 Thread John Hunter
On Fri, Oct 10, 2008 at 4:17 AM, Thomas Guettler [EMAIL PROTECTED] wrote: Hi, I want to change the font size of x ticks labels. The FAQ entry is only for pylab: http://matplotlib.sourceforge.net/faq.html#TEXTOVERLAP I found this solution: for tick in ax.xaxis.get_major_ticks():

Re: [Matplotlib-users] Animation and imshow

2008-10-09 Thread John Hunter
On Tue, Oct 7, 2008 at 8:10 AM, Alexander Borghgraef [EMAIL PROTECTED] wrote: I'm trying to figure out how to do animated graphics in pylab using imshow, so I made this little 'hello world' equivalent showing a moving square over two frames. Problem is I have to call draw twice to refresh the

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 29, Issue 19

2008-10-09 Thread John Hunter
On Thu, Oct 9, 2008 at 5:12 AM, Michael [EMAIL PROTECTED] wrote: I don't what is optimum, matplotlib has always been a bit hackish for animation i think Calling cla or clf in the animation loop is probably always a bad idea, because of the flashing you have noticed. Trying to use a simple

Re: [Matplotlib-users] How do I make a legend for Line2D objects in Basemap, colored using a colormap?

2008-10-09 Thread John Hunter
On Thu, Oct 9, 2008 at 2:40 PM, Zane Selvans [EMAIL PROTECTED] wrote: Hmm. I'll have a look at these. Jeff Whitaker suggested them for something else too. I too often feel like I'm just hacking my way around in Matplotlib, without understanding how it is actually supposed to be used (i.e.

Re: [Matplotlib-users] Axis limits for dynamic plot.

2008-10-08 Thread John Hunter
On Wed, Oct 8, 2008 at 12:23 PM, Venkat Ramanan [EMAIL PROTECTED] wrote: for i in p.arange(1,nframes): A=2*p.sin(2*p.pi*(1/float(2*nframes))*i) sindata=A*p.sin(x) line.set_ydata(sindata) # update the data p.draw() # redraw the canvas The autoscaling

Re: [Matplotlib-users] Compilation problems on Fedora Core2.

2008-10-07 Thread John Hunter
On Tue, Oct 7, 2008 at 11:32 AM, Michael Droettboom [EMAIL PROTECTED] wrote: This is a known problem with old versions of pygtk. See here: http://osdir.com/ml/python.matplotlib.general/2004-11/msg00101.html See also this FAQ: http://matplotlib.sourceforge.net/faq.html#PYGTK24

Re: [Matplotlib-users] ellipse in log-log

2008-10-06 Thread John Hunter
On Mon, Oct 6, 2008 at 7:15 AM, Michael Droettboom [EMAIL PROTECTED] wrote: In 0.98 ellipse is drawn using bezier curves, which do not scale correctly in log-scaled plots. As an alternative, you can use a RegularPolygon with a high number of vertices (this is exactly what 0.91 did). Here is

Re: [Matplotlib-users] customizing Basemap

2008-10-06 Thread John Hunter
On Mon, Oct 6, 2008 at 11:23 AM, Jeff Whitaker [EMAIL PROTECTED] wrote: Basemap doesn't handle any GUI stuff - this is all done by matplotlib proper. So, you'll need to look at the matplotlib docs to see how to customize the toolbar. Mathew, To do stuff like adding menus and customizing the

Re: [Matplotlib-users] Getting resize_event to work

2008-10-06 Thread John Hunter
On Mon, Oct 6, 2008 at 1:40 PM, Eric Firing [EMAIL PROTECTED] wrote: Jon Froehlich wrote: Hi Eric, Thanks for the response. I am just calling show() within pylab and a GUI automatically pops-up. A screenshot is attached. It looks like the underlying GUI is TK? I am on Vista (unfortunately).

Re: [Matplotlib-users] Clear Figure

2008-10-05 Thread John Hunter
On Sun, Oct 5, 2008 at 3:50 AM, rocha [EMAIL PROTECTED] wrote: self.canvas.figure.clf() self.canvas.draw() self.canvas.axes.plot([1.,2.,4.]) and nothing is plotted. The Figure is totally gray. I tried to do the same thing in embedding_in_qt4.py example, modifying some parts, but it didn't

Re: [Matplotlib-users] new_user matplotlib help

2008-09-25 Thread John Hunter
On Sat, Feb 9, 2008 at 11:05 AM, Jon Loehrke [EMAIL PROTECTED] wrote: Sorry to bother everyone with this post. I am new to matplotlib and python in general and am finding a problem that I don't understand. I've downloaded the scipy superpack (through easy_install) from C. Fonnesbeck

Re: [Matplotlib-users] Information request

2008-09-25 Thread John Hunter
On Thu, Sep 25, 2008 at 7:15 AM, Jeff Whitaker [EMAIL PROTECTED] wrote: De Pauw Antoine wrote: Hi Jeff, I finally found out how to fill my figure with a background color using axes.set_axis_bgcolor(color), but I'm facing the following problem now: How could I get the lower color of a

Re: [Matplotlib-users] Multiple sub-plot goes off the top of the page

2008-09-25 Thread John Hunter
On Thu, Sep 25, 2008 at 6:34 AM, Peter Saffrey [EMAIL PROTECTED] wrote: For me, the code below draws the top plot only half on the page. Can anybody help me out? from pylab import * groups = [ [ 'A', 'B', 'C', 'D', 'E' ], [ 'F', 'G', 'H', 'I' ], [ 'M',

Re: [Matplotlib-users] Matplotlib rpms for RedHat, please

2008-09-25 Thread John Hunter
On Wed, Sep 24, 2008 at 9:35 PM, Dennis Newbold [EMAIL PROTECTED] wrote: Hi all, The Installing page on the matplotlib website says: You probably don't need to compile matplotlib unless you want to or work on an obscure platform. There are binary builds for Windows, OS X and many major

Re: [Matplotlib-users] imshow inconsistency from version 0.91 to 0.98

2008-09-25 Thread John Hunter
On Wed, Sep 24, 2008 at 2:16 PM, Haibao Tang [EMAIL PROTECTED] wrote: for k in cm_keys: imshow(Y, extent=(xstart, xstart+.7*col_interval, ystart, ystart+.5*row_interval), cmap=get_cmap(name=k)) root.text(xstart+.75*col_interval, ystart, k, size=9) xstart +=

Re: [Matplotlib-users] subplot within subplot

2008-09-24 Thread John Hunter
On Wed, Sep 24, 2008 at 1:21 PM, charles reid [EMAIL PROTECTED] wrote: Hi - I haven't had any luck finding any examples of putting a subplot within a subplot in the documentation/website/example files. Is this possible? For example, I would want something like this: __ |

Re: [Matplotlib-users] Newbie question - rotated XY chart

2008-09-24 Thread John Hunter
On Wed, Sep 24, 2008 at 8:04 PM, greg7201 [EMAIL PROTECTED] wrote: I am such a matplotlib newbie... but it looks very cool. I need to create a basic graph, EXCEPT the x axis needs to go down the page, and the y axis is across the bottom. (The chart is to display drilling information and the

Re: [Matplotlib-users] building matplotib on linux

2008-09-23 Thread John Hunter
On Tue, Sep 23, 2008 at 10:28 AM, Michael Hearne [EMAIL PROTECTED] wrote: I installed the freetype-devel libraries and this problem went away. Any chance you also installed tk-devel or tcl-devel? I can't see how the addition of the freetype headers would fix a tk problem. JDH

Re: [Matplotlib-users] How to pause prgoram from graphical screen

2008-09-23 Thread John Hunter
On Tue, Sep 23, 2008 at 9:46 AM, Roland Hauff [EMAIL PROTECTED] wrote: I'm reading a serial port and plotting the acquired data using TKagg with the plot() command. This gives me a nice graphical screen that updates as the data arrives. What I would like to do is be able to pause the entire

Re: [Matplotlib-users] Efficiently processing large datasets

2008-09-23 Thread John Hunter
On Tue, Sep 23, 2008 at 5:56 AM, rfwatson [EMAIL PROTECTED] wrote: Hello, I am using matplotlib in combination with QT4 as part of an audio application I am building. Part of this involves plotting an oscilloscope-style display (time vs intensity) for sets of raw audio data, which I have

Re: [Matplotlib-users] how to close (complitly destroy) pylab figure?

2008-09-21 Thread John Hunter
On Sun, Sep 21, 2008 at 3:28 PM, dmitrey [EMAIL PROTECTED] wrote: Hi all, how to close (complitly destroy) pylab figure? The feature is highly required for my module openopt. I expected something like this will work but it doesn't Could you be more precise about what you mean when you say

Re: [Matplotlib-users] Information request

2008-09-17 Thread John Hunter
On Wed, Sep 17, 2008 at 11:54 AM, John Hunter [EMAIL PROTECTED] wrote: Attached is a screenshot (zoom.png) from the gimp, zoomed in near the axes border. The black horizontal line is the top axes border, the horizontal grey line is the artifact, the vertical dashed line is a grid line. I

Re: [Matplotlib-users] 'Inverting' a colormap (was Next problem: pixel-to-pixel alpha variation)

2008-09-16 Thread John Hunter
On Tue, Sep 16, 2008 at 2:40 PM, David Goldsmith [EMAIL PROTECTED] wrote: --- On Tue, 9/9/08, David Goldsmith [EMAIL PROTECTED] wrote: eventually ... I'd like to do what John implies is possible, i.e., invert a cm back to its RGB table - John (or anyone) can you short-cut the learning

Re: [Matplotlib-users] set font problem.

2008-09-14 Thread John Hunter
On Sun, Sep 14, 2008 at 1:30 AM, sa6113 [EMAIL PROTECTED] wrote: Thanks for your help, it works, but it is very difficult because I want to show a FontDialog contains all fonts in system to user and change the plot text (Legend, Label and ex.) font to that. How may I accomplish that? Is there

Re: [Matplotlib-users] Fwd: WxAgg Figures not updating

2008-09-13 Thread John Hunter
On Sat, Sep 13, 2008 at 12:03 AM, Marshall Tappen [EMAIL PROTECTED] wrote: I am having problems with the WxAgg backend on the Mac not updating figures. Using this test code: for i in xrange(250,len(x),25): h.set_data(x[:i],y[:i]) axis([0,6*pi,-2,2]) draw() time.sleep(0.5)

Re: [Matplotlib-users] set font problem.

2008-09-13 Thread John Hunter
On Sat, Sep 13, 2008 at 4:35 AM, sa6113 [EMAIL PROTECTED] wrote: I want to set all font system to my texts, but I can't set all the fonts. I am using this code: font= FontProperties( size='small' ,fname = 'Tahoma' ) self.ax.legend(line, label, legend , prop = font )

Re: [Matplotlib-users] Help: How to limit text to a definite area

2008-09-10 Thread John Hunter
On Wed, Sep 10, 2008 at 2:55 PM, Samir Wadhawan [EMAIL PROTECTED] wrote: Hi, I am trying to draw a rectangle of a fixed size and them put a lable/text on it. However if the text is too long, it goes out of bounds. Is there a way I restrict the text within the rectangle margins. would it

Re: [Matplotlib-users] axis and zoom

2008-09-02 Thread John Hunter
On Tue, Sep 2, 2008 at 5:04 AM, bernardo martins rocha [EMAIL PROTECTED] wrote: Hi Guys, I have some questions: 1. How can I zoom in the horizontal axis and maintain the vertical axis unchanged with the zoom tool provided by matplotlib? Hold down the 'x' key while zooming to constrain the

Re: [Matplotlib-users] Agent Problem

2008-09-01 Thread John Hunter
On Mon, Sep 1, 2008 at 4:37 AM, Lotfi Benz [EMAIL PROTECTED] wrote: I am using matplotlib since three months, every thing was fine untill today I have got this error message which is strange and I could not figure out what it means. here I paste the error message I got. Another agent is

Re: [Matplotlib-users] Pixel numbers should be formated as integers

2008-08-30 Thread John Hunter
On Sat, Aug 30, 2008 at 4:13 PM, Xavier Gnata [EMAIL PROTECTED] wrote: Hi, I'm using the TkAgg backend. It is nice and fine except one issue: Here is a trivial testcase: import pylab import numpy M=numpy.zeros((2000,2000)) pylab.imshow(M) The cursor position is displayed this way:

Re: [Matplotlib-users] Trouble with scatter and legend

2008-08-28 Thread John Hunter
On Thu, Aug 28, 2008 at 1:34 PM, Nils Wagner [EMAIL PROTECTED] wrote: Please find attached the output (test.png). The order of the legend entries is wrong. Am I missing something ? OK, now I see your point. auto-legending doesn't respect the order of the plots across different artist types.

Re: [Matplotlib-users] Automatic margins

2008-08-13 Thread John Hunter
On Wed, Aug 13, 2008 at 12:40 PM, Eric Firing [EMAIL PROTECTED] wrote: Mathieu Leplatre wrote: Is there a way to automatically guess margins according to chart content ? There is nothing like that built into mpl. It is not an easy thing to do in general--that is, for an arbitrary set of

Re: [Matplotlib-users] Trouble in PNG file [cgi]

2008-08-12 Thread John Hunter
On Tue, Aug 12, 2008 at 5:16 AM, Zainal Abidin [EMAIL PROTECTED] wrote: I have a trouble when displat a PNG file which generated from matplotlib here is the script from http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script there is no image in the web browser, is there

Re: [Matplotlib-users] MPL 0.91.2: bottom of xlabel chopped off

2008-08-12 Thread John Hunter
On Tue, Aug 12, 2008 at 10:13 PM, Warren Weckesser [EMAIL PROTECTED] wrote: I am using matplotlib version 0.91.2. When I use savefig to create a plot in which the xlabel text has any kind of descender (e.g. $x_1$, or even simply a j), the lower part of the label is chopped off by the bottom

Re: [Matplotlib-users] ticks labels

2008-08-11 Thread John Hunter
On Mon, Aug 11, 2008 at 1:45 PM, Jeffrey Fogel [EMAIL PROTECTED] wrote: The two things I have been unable to figure out are how to add a major tick at all of the other magnitudes (those without a label) and how to change the format of the labels so that only the exponent is showing. I'm sure

Re: [Matplotlib-users] windrose OO

2008-08-11 Thread John Hunter
On Mon, Aug 11, 2008 at 3:51 PM, Michael Droettboom [EMAIL PROTECTED] wrote: Christopher Barker wrote: Is there a guide to translating code from the old to new Transforms structure? Yes, in the API_CHANGES file, in the source distribution. (I'd link to SVN, but it seems Sourceforge's SVN

Re: [Matplotlib-users] windrose OO

2008-08-11 Thread John Hunter
On Mon, Aug 11, 2008 at 3:51 PM, Michael Droettboom [EMAIL PROTECTED] wrote: Christopher Barker wrote: Is there a guide to translating code from the old to new Transforms structure? Yes, in the API_CHANGES file, in the source distribution. (I'd link to SVN, but it seems Sourceforge's SVN

Re: [Matplotlib-users] Figure existence test

2008-08-11 Thread John Hunter
On Mon, Aug 11, 2008 at 4:24 PM, nobody [EMAIL PROTECTED] wrote: Bump... Does no-one have a solution for this? Sorry for not answering. There is no elegant way to do this so we should add support. In the meantime, the following hack should work figs = [manager.canvas.figure for manager

Re: [Matplotlib-users] Scaling axes not data?

2008-08-10 Thread John Hunter
On Sun, Aug 10, 2008 at 8:06 AM, Boris Barbour [EMAIL PROTECTED] wrote: Hi, I have lots of data acquired via analogue to digital conversion. The data is consequently represented as integers (often 16 bit resolution). To obtain the correct signal and plot it, these data must of course be

Re: [Matplotlib-users] Filled contour transparency issue

2008-08-06 Thread John Hunter
On Wed, Aug 6, 2008 at 1:28 PM, peter websdell [EMAIL PROTECTED] wrote: No michael, that is what I was suggesting. Shame it doesn't work. I'm looking at using Enthoughts Chaco to do it. It's takes a bit more to get it doing what I want though, and I don't know if it does alpha transparency at

Re: [Matplotlib-users] Feature Request: RectangleSelector BlockingInput

2008-08-05 Thread John Hunter
On Tue, Aug 5, 2008 at 6:26 PM, Elfnor [EMAIL PROTECTED] wrote: This would be really useful for implementing a user image crop function, similar to matlab's imcrop for example. David, since you are a recent matlab user and are deeply versed in the blocking code: how hard would it be to simply

Re: [Matplotlib-users] Using Hex number with shape syntax

2008-08-04 Thread John Hunter
On Mon, Aug 4, 2008 at 4:48 AM, Manuel Metz [EMAIL PROTECTED] wrote: Use the named kwarg linestyle: plot(Time, Value, '#330066', linestyle='.') I think you meant marker, since the '.' represents a marker rather than a linestyle plot(Time, Value, color='#330066', marker='.') JDH

Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-08-04 Thread John Hunter
On Sun, Aug 3, 2008 at 1:19 PM, Charlie Moad [EMAIL PROTECTED] wrote: I was going to wait on John about the docs, but I went ahead and cut the 0.98.3 release. The sdist including the docs was 34MB, so I decided not to include them. This would also cause the binaries to be huge if we included

Re: [Matplotlib-users] Navigation toolbar w/o subplot configuration button

2008-07-31 Thread John Hunter
On Thu, Jul 31, 2008 at 8:18 AM, Ben Axelrod [EMAIL PROTECTED] wrote: Yes. I did this by deriving my toolbar class from the default NavigationToolbar2WxAgg. Then deleting the buttons I did not want. I had to delete by position, because I did not know their IDs. (Does anyone know how to

Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-07-31 Thread John Hunter
On Tue, Jul 29, 2008 at 1:12 PM, John Hunter [EMAIL PROTECTED] wrote: We are in the final stages of preparing a new matplotlib release, and a lot of work has gone into it. If you would like to test the release and see if it is working for you, that would be a big help http

Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-07-31 Thread John Hunter
On Thu, Jul 31, 2008 at 2:06 PM, Michael Droettboom [EMAIL PROTECTED] wrote: It seems to have broken with a recent update to Sphinx. Sphinx changed the way that cross-reference urls are stored in the document tree. I have updated matplotlib to use an approach that work for Sphinx both before

Re: [Matplotlib-users] Thin wedges missing from pie graph

2008-07-31 Thread John Hunter
On Thu, Jul 31, 2008 at 3:09 PM, Jonathan Hayward, http://JonathansCorner.com [EMAIL PROTECTED] wrote: I emerged 0.91.2 through my distribution's packaging system. Do I need to compile the newest version from source or something like that? The 0.98.3 release will be out very soon -- just keep

Re: [Matplotlib-users] Plot a Dictionary, time and value

2008-07-30 Thread John Hunter
On Wed, Jul 30, 2008 at 9:17 AM, stuartornum [EMAIL PROTECTED] wrote: Hi, Wondering if anyone has done something similar and could point me in the right direction. I have a dictionary like this: Dict{'00:00:00':'23', '00:01:00':'29', '00:02:00':'13', '00:03:00':'78', '00:04:00':'45',

Re: [Matplotlib-users] text picker

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 10:55 AM, Ben Axelrod [EMAIL PROTECTED] wrote: Text picking does not seem to work for me anymore since I upgraded from 0.91.4 to 0.98.1. This is fixed in matplotlib svn and will be out in the next release.

Re: [Matplotlib-users] bar plot picker with 0 height data

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 12:27 PM, Ben Axelrod [EMAIL PROTECTED] wrote: I get an exception when I set up a bar chart with a picker that has a bar with 0 height, and I click on the chart. Thanks for the report -- I just committed a fix for this to svn r5922 JDH

[Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-07-29 Thread John Hunter
We are in the final stages of preparing a new matplotlib release, and a lot of work has gone into it. If you would like to test the release and see if it is working for you, that would be a big help http://matplotlib.sourceforge.net/tmp/matplotlib-0.98.3rc2.tar.gz Unfortunately, we do not

Re: [Matplotlib-users] bar plot picker with 0 height data

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 1:20 PM, Ben Axelrod [EMAIL PROTECTED] wrote: Thanks for the bug fix. Do you think this fix will make it into the 0.98.3 release? it will. - This SF.Net email is sponsored by the Moblin Your Move

Re: [Matplotlib-users] Waterfall Plot?

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 1:48 PM, Travis Ruthenburg [EMAIL PROTECTED] wrote: I'm new to matplotlib and was hoping someone could point me in the right direction for making a waterfall plot, similar to MATLAB's 'waterfall'. I'd like to plot a series of 2-D spectra staggered by time. The

Re: [Matplotlib-users] imshow update norm make my app crash.

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 6:52 PM, Laurent Dufrechou [EMAIL PROTECTED] wrote: I've applied the idea you've said later about colormap. Now I would like on an event to refresh my view so I've written this code: I would like to see what self.low_clutter_val =

Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-07-29 Thread John Hunter
On Tue, Jul 29, 2008 at 1:12 PM, John Hunter [EMAIL PROTECTED] wrote: We are in the final stages of preparing a new matplotlib release, and a lot of work has gone into it. If you would like to test the release and see if it is working for you, that would be a big help http

Re: [Matplotlib-users] Problem plotting interactively from PyCrust

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 3:33 AM, eliben [EMAIL PROTECTED] wrote: Hello, I'm running the latest matplotlib (and wxPython) with Python 2.5.2 on Win XP. Everything works fine, the plotting quality is excellent, and interactive plotting works nicely with IPython. However, I much prefer the

Re: [Matplotlib-users] Problem plotting interactively from PyCrust

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 12:55 PM, eliben [EMAIL PROTECTED] wrote: Yes, WXAgg works. What is the difference between WXAgg and WX backends ? I couldn't find any real documentation on the subject and I would really like to know. Can WX do something WXAgg can't ? WXAgg is the full featured wx

Re: [Matplotlib-users] Histogram question

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 3:47 PM, aditya shukla [EMAIL PROTECTED] wrote: I am trying to plot a histogram of some values in an array: eg:- input_hist=[0.5,0.5,0.66,0.83,0.92,0.92,0.93,0.97,0.98,0.98,0.98,0.99] after issuing the pylab.hist(input_hist) statement these are the return values that i

Re: [Matplotlib-users] plot() hangs up, how to rescue Python?

2008-07-26 Thread John Hunter
On Sat, Jul 26, 2008 at 5:46 PM, Anand Patil [EMAIL PROTECTED] wrote: Well, I lost it... whatever was hung up apparently gave up and killed Python when I shut down my local machine. It would still be nice to know how to fix this though, in case it happens again... Sorry this happened -- I

Re: [Matplotlib-users] NaN bugs

2008-07-25 Thread John Hunter
On Fri, Jul 25, 2008 at 10:08 AM, Ben Axelrod [EMAIL PROTECTED] wrote: I have noticed 2 bugs having to do with NaN handling in the scatter() I believe this is fixed in svn (0.98 branch) -- I tested your first example and it behaved as expected. I f you have a build environment, please test the

Re: [Matplotlib-users] Help with converting from scilab

2008-07-25 Thread John Hunter
On Fri, Jul 25, 2008 at 10:22 AM, Peter Wesbdell [EMAIL PROTECTED] wrote: Hello all, my first post here. I am moving from using scilab to Pylab, can anyone tell me why the two following snippets of code produce very different results? BTW. The scilab code produces the expected result. I

Re: [Matplotlib-users] Border appearance

2008-07-24 Thread John Hunter
On Thu, Jul 24, 2008 at 10:22 AM, Jonathan Hayward http://JonathansCorner.com I'm looking at the tutorial ; I'd welcome suggestions or clarifications about what I should be reading. The tutorial is a good start, as is the user's guide http://matplotlib.sourceforge.net/users_guide_0.98.1.pdf

Re: [Matplotlib-users] Tick marks around bar chart

2008-07-24 Thread John Hunter
On Thu, Jul 24, 2008 at 11:53 AM, Jonathan Hayward http://JonathansCorner.com [EMAIL PROTECTED] wrote: How do I control and/or remove the black tick marks on a bar chart? I've turned off most of the other black material on boundaries, but these ones are still there (see attached image). You

Re: [Matplotlib-users] Scaling--I couldn't find it, but should this be in FAQ list?

2008-07-23 Thread John Hunter
On Wed, Jul 23, 2008 at 9:06 AM, Jonathan Hayward http://JonathansCorner.com fig = figure((8,6), dpi=100) # 800x600 When I tried placing that line in a couple of places, I got an error: Sorry, my fault, you need the keyword argument figsize: In [1]: import matplotlib.pyplot as plt In [2]:

Re: [Matplotlib-users] Scaling--I couldn't find it, but should this be in FAQ list?

2008-07-22 Thread John Hunter
On Tue, Jul 22, 2008 at 3:51 PM, Jonathan Hayward http://JonathansCorner.com I would like to shrink the graph height to a third or a fourth of its present value, and possibly cut the padding. How can I control that? You can create an axes for plotting into with whatever dimensions you want, by

Re: [Matplotlib-users] Scaling--I couldn't find it, but should this be in FAQ list?

2008-07-22 Thread John Hunter
On Tue, Jul 22, 2008 at 4:06 PM, Jonathan Hayward http://JonathansCorner.com [EMAIL PROTECTED] wrote: Thank you; I've shrunk the graphic part. Please respond to the mailing list (reply to all) When I save it as an image, it's painting an 800x600 image, so I've shrunk the portion of the

Re: [Matplotlib-users] Border appearance

2008-07-22 Thread John Hunter
On Tue, Jul 22, 2008 at 4:28 PM, Jonathan Hayward http://JonathansCorner.com [EMAIL PROTECTED] wrote: On the two routines I'm modifying from examples, boundaries and borders are generally a hefty black. How can I control color and/or thickness and/or turn off items like boundaries that are

Re: [Matplotlib-users] Ticklabels

2008-07-21 Thread John Hunter
On Mon, Jul 21, 2008 at 4:54 AM, Wolfgang Kerzendorf [EMAIL PROTECTED] wrote: Dear all, I find it incredibly hard to work with tick labels in matplotlib (on matplotlib 0.98 @ OS X 10.5.4) (It might well be that I haven't stumbled across the right solution yet and it is really easy ;-) ). I

Re: [Matplotlib-users] plot a moving point from an input file

2008-07-21 Thread John Hunter
On Mon, Jul 21, 2008 at 2:57 AM, Matthias Michler [EMAIL PROTECTED] wrote: Hello Hussein, maybe the following example helps you. It uses the module 'time' to wait for some seconds. A note of caution: this example will probably only work with tkagg. For other GUIs, like gtk, wx, or qt, you

[Matplotlib-users] Fwd: Multiple plots from multiple files in one figure?

2008-07-19 Thread John Hunter
to duplicate your Yahoo ticker data example, but plotting multiple tickers on the same figure so that I can compare performance. Is there some easy way to do this? Thanks for the help. Tom John Hunter-4 wrote: On 6/8/07, Lionel Roubeyrie [EMAIL PROTECTED] wrote: Hi John, very very

Re: [Matplotlib-users] xticks and yticks on central axis

2008-07-19 Thread John Hunter
On Sat, Jul 19, 2008 at 10:19 AM, Bryan Fodness [EMAIL PROTECTED] wrote: I would like the xticks and yticks on the central axis to look like the attached png. Right now, I am just using axvline and axhline. Tony Yu is working on adding support for this but it is not complete yet. JDH

Re: [Matplotlib-users] Error when running multiple jobs utilizing the Tex utilities in matplotlib

2008-07-18 Thread John Hunter
On Fri, Jul 18, 2008 at 6:12 AM, Ian Harry [EMAIL PROTECTED] wrote: Hi Darren, /home/spxiwh/matplotlibinstall/lib64/python2.4/site-packages/matplotlib/__init__.py:801: UserWarning: This call to matplotlib.use() has no effect because the the backend has already been chosen; matplotlib.use()

Re: [Matplotlib-users] import pylab produces rounding error

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 1:22 AM, Angela Rivera Campos [EMAIL PROTECTED] wrote: Well, I can assure you that I am neither working as root, I might be a newbie to matplotlib but not to linux, nor have any problem with the display. This problem is happening in both machines, remote (ssh -X, for

Re: [Matplotlib-users] ocean profile

2008-07-17 Thread John Hunter
On Wed, Jul 16, 2008 at 6:59 PM, Alan G Isaac [EMAIL PROTECTED] wrote: I assume you know of Robert Kern's code? URL:http://cours-info.iut-bm.univ-fcomte.fr/docs/python/scipy/scipy.sandbox.delaunay-module.html I was aware of the project but always assumed he was relying on some GPL/LGPL code

Re: [Matplotlib-users] twinx memory leak

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 12:42 PM, Michael Droettboom [EMAIL PROTECTED] wrote: Anyone have any thoughts on this? It seems like it's serious enough to try to resolve before the next bugfix release. I think what we are seeing here is the known GUI figure canvas leak (Michael, I think our offlist

Re: [Matplotlib-users] small scatter plot color bug

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 1:53 PM, Ben Axelrod [EMAIL PROTECTED] wrote: It seems like this should be possible: ax.scatter(x, y, c=None) Just use plot(x, y, 'o') or whatever marker you want, and set the markersize. scatter is meant for plots where either the marker size or marker color vary.

Re: [Matplotlib-users] difference between plot and scatter

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 2:35 PM, Ben Axelrod [EMAIL PROTECTED] wrote: It seems that axes.plot() handles 'None' values in the input arrays gracefully by just not plotting that point. But axes.scatter() bugs out. Can this be fixed? We try to support np.nan and np masked arrays to handle missing

Re: [Matplotlib-users] Can I update symbol positions and colors in a collection?

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 10:28 PM, Ryan May [EMAIL PROTECTED] wrote: I helped Eric out with this offline, and obviously set_array is for the colors, but the only solution we could come up with was to directly reset the PolyCollection._offsets member. This seems a little hacky. Is there any

Re: [Matplotlib-users] import pylab produces rounding error

2008-07-16 Thread John Hunter
On Wed, Jul 16, 2008 at 6:12 AM, Angela Rivera Campos [EMAIL PROTECTED] wrote: Hi, again I've trying to install everything, from the begining on another machine, this one's running openSUSE 10.3. So I've installed the latest versions of numpy, scipy and matplotlib and I've discovered

Re: [Matplotlib-users] getting a subregion with the cursor

2008-07-16 Thread John Hunter
On Wed, Jul 16, 2008 at 7:36 AM, Ken Dere [EMAIL PROTECTED] wrote: I would like to be able to call something like: sub = getSub(myImage) and then click my cursor on two places in an image and have that subregion returned as sub. I would also like to be able to do this with a single

Re: [Matplotlib-users] ploting a contour graph from data files

2008-07-16 Thread John Hunter
On Wed, Jul 16, 2008 at 1:25 PM, Oz Nahum [EMAIL PROTECTED] wrote: Ok, I played with it a little bit. Here is what I know: importing the data is not a big issue, I aready wrote a tutorial about it here: http://www.tabula0rasa.org/?p=21 There are a couple of functions for loading ASCII data

<    3   4   5   6   7   8   9   10   11   12   >