Re: [Matplotlib-users] Computing Simple Statistics from a Histogram

2009-12-04 Thread Wayne Watson
Hi, actually, more question was more informational than how to do it. I wrote a function to do it, but wondered why such a function didn't seem to exist. In my case, the histogram is from a small processor that produces frequency data from 307K points. Unraveling the frequency data and returning

Re: [Matplotlib-users] Publish to HTML

2009-12-04 Thread Alan G Isaac
On 12/4/2009 2:17 AM, David Arnold wrote: I am wondering if Sampledoc type files can be used for this same purpose. Is there a way you can gather the output html and upload them to our Sakai drop boxes? Is the following at all related to what you want to do? Using reStructuredText, you

Re: [Matplotlib-users] Publish to HTML

2009-12-04 Thread John Hunter
On Fri, Dec 4, 2009 at 1:17 AM, David Arnold dwarnol...@suddenlink.net wrote: All. I see the Sphinx tutorial Sampledoc on the Matplotlib site and am working through the tutorial. This semester, my students have really enjoyed using Matlab's publish to HTML tool, then they upload the

[Matplotlib-users] Beginner Problem with drawing

2009-12-04 Thread Sebastian Rhode
Hi guys, i wrote a little program to display filter sets used for microscopy. The spectra data are shown using matplotlib and wxmpl. The GUI hat a menu item Set Lines -- an extra Frame with checkboxes will open up. Upon checking or unchecking, the laser lines should be displayed or deleted inside

Re: [Matplotlib-users] Publish to HTML

2009-12-04 Thread Alan G Isaac
Another possibility is pyReport: http://gael-varoquaux.info/computers/pyreport/ Alan Isaac -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing.

[Matplotlib-users] Unable to plot simple matplotlib figures

2009-12-04 Thread Lisa M Winter
Hello. I installed matplotlib from source in Mac OS 10.6. However, I am unable to print this simple example plot: from pylab import * plot([1,2,3]) show() Here is what I get when I try using TkAgg as the backend: casa98-125-dhcp:.matplotlib lisa$ python simple_plot.py --verbose- helpful

[Matplotlib-users] Rotating X-Labels on AxesGrid?

2009-12-04 Thread PHobson
Hey folks, I'm trying to make some bar plots using AxesGrid and the set_xlabels method doesn't seem to notice that I'm passing a 'rotation' kwarg. Here's a small script that showing that this doesn't work: # -- import matplotlib.pyplot as pl from

[Matplotlib-users] Matplotlib - navigation toolbar - delete x and y labelling

2009-12-04 Thread redrum
Hi all, I'd like to delete x and y labelling in the navigation toolbar. See picture: http://img256.imageshack.us/img256/1608/capturepc.th.png http://old.nabble.com/file/p26636375/Capture.png How can I do this ? Thanks for your answer -- View this message in context:

Re: [Matplotlib-users] AxesGrid problem.

2009-12-04 Thread Ryan Neve
Than you for your assistance with AxesGrid. Concerning the documentation, on this page: http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.htmit says: Name Default Description aspect True aspect of axes then a few lines below: *aspect*By default (False), widths and

[Matplotlib-users] legend with

2009-12-04 Thread Chuck Pepe-Ranney
I am trying to plot a line area graph similar to a stacked bar chart. E.g import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax = fig.add_subplot(111) ind = np.arange(3) y1 = np.array([1,2,3]) y2 = y1 * 2 a = ax.fill_between(ind, y1, np.zeros(len(ind)), facecolor='r') b =

Re: [Matplotlib-users] Rotating X-Labels on AxesGrid?

2009-12-04 Thread Jae-Joon Lee
First of all, unless you're displaying multiple images (with aspect), there is not much of benefit of using axes_grid toolkit. So I strongly recommend you to stick to subplot. axes_grid toolkit uses different kind of artists to draw ticklabels. Therefore, most of the matplotlib command that try

Re: [Matplotlib-users] AxesGrid problem.

2009-12-04 Thread Jae-Joon Lee
On Fri, Dec 4, 2009 at 2:49 PM, Ryan Neve ryan.n...@gmail.com wrote: Than you for your assistance with AxesGrid. Concerning the documentation, on this page: http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.htmit says: Name Default Description aspect True aspect