Re: [Matplotlib-users] Symbols below a figure

2007-02-13 Thread Jouni K . Seppänen
Nils Wagner [EMAIL PROTECTED] writes: I have upgraded matplotlib via svn. Then you probably should be following the developers' mailing list as well as this one. According to the thread about build_ext --inplace, the mpl-data directory is undergoing a restructuring in svn, and apparently not

[Matplotlib-users] plot 3D with filled curves

2007-02-13 Thread John Travers
Hi, I'm doing some simple 3d plots with matplotlib. So far I have used Axes3D.plot which works well. However, I would like to be able to either fill the curves, or at least hide lines which are 'behind' other curves. Can this be done? I don't think it should be hard to do given the other 3d

[Matplotlib-users] question about autoscale_view()

2007-02-13 Thread Matthias Michler
Hello everbody, sometimes I need an autoscaling when my new data points in a figure have small values compared to some deleted ones. So I thought ax.autoscale_view() would be the solution, but it seems to remember deleted data and so doesn't scale limits like I want. A little program showing

[Matplotlib-users] where is twiny ??

2007-02-13 Thread Eric Emsellem
Hi, I would need the equivalent of twinx, but for other axis, so a twiny function. Shouldn't it be in mpl already? thanks for your help, Eric - Using Tomcat but need to do more? Need to support web services, security? Get

Re: [Matplotlib-users] where is twiny ??

2007-02-13 Thread John Hunter
On 2/13/07, Eric Emsellem [EMAIL PROTECTED] wrote: Hi, I would need the equivalent of twinx, but for other axis, so a twiny function. Shouldn't it be in mpl already? thanks for your help, At the time noone wanted it, but it's easy enough to do. I just added the following to pylab svn:

Re: [Matplotlib-users] where is twiny ??

2007-02-13 Thread John T Whelan
On Tue, 13 Feb 2007, Eric Emsellem wrote: I would need the equivalent of twinx, but for other axis, so a twiny function. Shouldn't it be in mpl already? twiny() doesn't exist, but the source code of twinx() is in lib/matplotlib/pylab.py and it's about eight lines long, so it's easy enough to

Re: [Matplotlib-users] where is twiny ??

2007-02-13 Thread John Hunter
On 2/13/07, John T Whelan [EMAIL PROTECTED] wrote: The one catch with this, practically, is that the top x axis is written in the same place as the plot title. I have yet to play with the placement of the title. A combination of moving the stop of the subplot down with the subplots_adjust

[Matplotlib-users] Plot a sequence of zeros or ones

2007-02-13 Thread Giorgio Gilestro
I have a long list composed of either 0s or 1s. I would like to plot the sequence as a horizontal bar in which 0 = black pixel, 1 = white pixel - something looking like a barcode, if you know what I mean. Is there a way do to that with matplotlib? Thanks

Re: [Matplotlib-users] Plot a sequence of zeros or ones

2007-02-13 Thread John Hunter
On 2/13/07, Giorgio Gilestro [EMAIL PROTECTED] wrote: I have a long list composed of either 0s or 1s. I would like to plot the sequence as a horizontal bar in which 0 = black pixel, 1 = white pixel - something looking like a barcode, if you know what I mean. Is there a way do to that with

Re: [Matplotlib-users] Plot a sequence of zeros or ones

2007-02-13 Thread John Hunter
On 2/13/07, John Hunter [EMAIL PROTECTED] wrote: Something like the following should do the trick: A minor modification: for a barcode, you'll want to pass interpolation='nearest' to the imshow command. I just committed the binary colormap to svn and added examples/barcode_demo.py. The new

Re: [Matplotlib-users] How to place a canvas in a scrolledwindow andchange its size?

2007-02-13 Thread Giorgio Gilestro
I asked some help last week. I post here the solution to my problem since I believe it's something of general interest. A figure is generated and the user can change the size of the canvas (in inches) interactively, as if we are zooming in and out the canvas. This is particularly useful when you

[Matplotlib-users] Controlling number of grid lines

2007-02-13 Thread kc106_2005-matplotlib
I am having trouble with axes and grids in the y-direction. I have a 3 rows x 2 colums figure and I like to have 5 major Y divisions or 4 grid lines for each of the graphs. 5 of the 6 graphs came out properly. For instance, for a Ymin=12, Ymax=17, I get grid lines at y=13, 14, 15, and 16.

[Matplotlib-users] matplotlib and boa

2007-02-13 Thread Sture Lygren
Hello, I've been trying to use matplotlib from boa constructor (on windows, running enthon-python2.4-1.0.0 and boa-constructor 0.4.4). For test purpose I have a single button-event call this function: def testPlot(): plot([1,2,3]) show() Everything is fine for the first event -