[Matplotlib-users] How do I unsubscribe?

2011-11-05 Thread Wayne Watson
Unsubscribe? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Science is the greatest gift given to mankind

[Matplotlib-users] Win7. Why Don't Matplotlib, ... Show up in Control Panel Add-Remove?

2010-08-08 Thread Wayne Watson
See Subject. I use matplotlib, scipy, numpy and possibly one other module. If I go to the control panel, I only see numpy listed. Why? I use a search and find only numpy and Python itself. How can matplotlib and scipy be uninstalled? -- Wayne Watson (Watson Adventures, Prop

Re: [Matplotlib-users] Win7. Why Don't Matplotlib, ... Show up in Control Panel Add-Remove?

2010-08-08 Thread Wayne Watson
, it's really not me that needs the help, it's my partner. He went off to 1.4, and it has caused trouble. Let's not go there. :-) On 8/8/2010 4:33 PM, Stephen George wrote: On 9/08/2010 9:19 AM, Wayne Watson wrote: See Subject. I use matplotlib, scipy, numpy and possibly one other module

[Matplotlib-users] Max Size of an Attachment?

2010-03-01 Thread Wayne Watson
See Subject. Is it 40K? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Stop the illegal killing of dolphins and porpoises

Re: [Matplotlib-users] Max Size of an Attachment?

2010-03-01 Thread Wayne Watson
I use Tbird, and I think any jpg file I send is encoded in an acceptable format for e-mail delivery. Aside from using attachments here, I recently noticed another Python list only allows 40K. On 3/1/2010 7:58 AM, John Hunter wrote: On Mon, Mar 1, 2010 at 9:45 AM, Wayne Watson sierra_mtnv

Re: [Matplotlib-users] py2exe message RuntimeError: Could not find the matplotlib data files?

2010-02-21 Thread Wayne Watson
story. So, yes, in light of this revelation, then I'm confused. On 2/20/2010 10:43 PM, Christopher Barker wrote: Wayne Watson wrote: Thank you. That last link probably enlightened about six people. Are you one of those six? That page is unfortunate -- some folks don't quite get

[Matplotlib-users] plot(x,y) Trouble?

2010-02-21 Thread Wayne Watson
I find this puzzling. It seems as though the x,y points in some fashion can vary. plot(2.8,3.4) doesn't work in my program plot([2.8],[3.4]) does work plot((2.8,3.4)) apparently creates two points Here's code where I have had to make x,y each a list. I've made comments about the behavior of

Re: [Matplotlib-users] py2exe message RuntimeError: Could not find the matplotlib data files?

2010-02-20 Thread Wayne Watson
Thank you. That last link probably enlightened about six people. On 2/19/2010 8:28 PM, Christoph Gohlke wrote: http://lmgtfy.com/?q=py2exe+matplotlib+data+filesl=1 leads me to http://www.py2exe.org/index.cgi/MatPlotLib. - Christoph On 2/19/2010 7:11 PM, Wayne Watson wrote: OK, I'm

Re: [Matplotlib-users] Looking for a Compiled Demo of MPL Graphics

2010-02-19 Thread Wayne Watson
Strange that there wouldn't be any such demos. ;-) However, I'm now rolling my own. On 2/15/2010 6:55 AM, Wayne Watson wrote: Does anyone know where I can find a compiled demo that uses MPL grphics? I'd like, if possible, a Win version whose size is less than 10M, so that I can send it via e

[Matplotlib-users] py2exe message RuntimeError: Could not find the matplotlib data files?

2010-02-19 Thread Wayne Watson
OK, I'm on Win7. From the py2exe tutorial, I've found that hello.exe works as expected by the tutorial. That file is in the dist folder. I've now tried this program, pylab_scatter.py: #!/usr/bin/env python from pylab import * N = 30 x = 0.9*rand(N) y = 0.9*rand(N) area = pi*(10 *

Re: [Matplotlib-users] Looking for a Compiled Demo of MPL Graphics

2010-02-19 Thread Wayne Watson
to matplotlib. On 2/19/2010 8:46 AM, Christopher Barker wrote: Wayne Watson wrote: Strange that there wouldn't be any such demos. ;-) I've got a small prototype app that embeds MPL in wxPython, bundled up with py2exe (and py2app for the Mac). It's 11.7MB, if you want me to mail

Re: [Matplotlib-users] Where Do I Report MPL Guide Issues?

2010-02-16 Thread Wayne Watson
Good. Thanks. Did I do the right thing by posting here? Is it the case that all parts of the document are contributions? On 2/15/2010 11:02 PM, Philipp Bender wrote: When I come back tonight I will try to fix the errors for you.

[Matplotlib-users] Looking for a Compiled Demo of MPL Graphics

2010-02-15 Thread Wayne Watson
Does anyone know where I can find a compiled demo that uses MPL grphics? I'd like, if possible, a Win version whose size is less than 10M, so that I can send it via e-mail, if necessary. It should use plot, so that someone can manipulate the plot with the navigation controls. At this point, I

Re: [Matplotlib-users] Placing a marker at specific places where lines join?

2010-02-15 Thread Wayne Watson
Hi, Phillip. don't know why the mail would be returned. The address I see above is correct. sierra_mtni...@sbcglobal.net. The only thing I can think of is that yahoo mail wanted you to allow you to ask for permission. Beats me. Frankly, I've never really liked the reply format of mail lists. I

Re: [Matplotlib-users] Placing a marker at specific places where lines join?

2010-02-14 Thread Wayne Watson
Did you see the figure I included to John? If not, let me put it simply. Suppose you have 50 straight sticks connected at their ends with some hook. I want to color the hook holding stick 10 to 11, but color no other hook. Not 99 hooks. Yesterday, I tried to do a simple plot of three points

Re: [Matplotlib-users] Placing a marker at specific places where lines join?

2010-02-14 Thread Wayne Watson
:28 PM, Wayne Watson sierra_mtnv...@sbcglobal.net wrote: Well, I'm not quite sure what to say to your claim. In certain instances I am trying to get through to someone here that something is missing for newbies. In one word, pedagogy (as perhaps in a text book, not a reference manual

[Matplotlib-users] Where Do I Report MPL Guide Issues?

2010-02-13 Thread Wayne Watson
In this case, it's spelling errors, mostly. axes for axis, etc. -- Crime is way down. War is declining. And that's far from the good news. -- Steven Pinker (and other sources) Why is this true, but yet the media says otherwise? The media knows very well how to manipulate us (see limbic,

[Matplotlib-users] Placing a marker at specific places where lines join?

2010-02-13 Thread Wayne Watson
Suppose I plot a line from (0,0) to (1,1.5) to (2,2). Now I want to mark (1,1.5) with a green circle. How is that done? -- Crime is way down. War is declining. And that's far from the good news. -- Steven Pinker (and other sources) Why is this true, but yet the media says otherwise? The media

Re: [Matplotlib-users] How Does One Learn to Use MatPlotLib? (PUG)

2010-02-12 Thread Wayne Watson
I'm beginning to read aboutPython OOP, classes, inheritance and the like. It seems like an understanding of those concepts is key to understanding how the import needs are met. -- Crime is way down. War is declining. And that's far from the good news. -- Steven Pinker (and other sources) Why

[Matplotlib-users] My matplotlib To-Do List

2010-02-12 Thread Wayne Watson
I think I need a time out to consider my recent posts. This particular mod can wait while I get to other priority items into action again. So here's my list of thing to do when I come back to it. Check out ipython more thoroughly. Examine the backend concept Read about the MPL interactive mode.

Re: [Matplotlib-users] My matplotlib To-Do List

2010-02-12 Thread Wayne Watson
Thanks. True enough. I've been exploring that possibility, and it is probably the way to go. When I get a little further down the line, I'll probably distribute it that way. On 2/12/2010 9:35 AM, Christopher Barker wrote: Wayne Watson wrote: So here's my list of thing to do when I

[Matplotlib-users] Down Another Pathway with Plot-Show

2010-02-12 Thread Wayne Watson
Certainly in IDLE, when one hits a show() in a def, the program does not continue to the next statement. It goes somewhere else, because my program continues normally. Apparently, it goes back up the def calls to the main program, which is a loop that just reads the next file to perform more

Re: [Matplotlib-users] Finding the Supposed MPL show() bug.

2010-02-11 Thread Wayne Watson
:08 PM, Wayne Watson wrote: Foiled again. I clicked on the previous version, which has no MPL code in the same def. The show() is where things go wrong though. The question now is where did the program go after the show()? Maybe it's time to put the interactive debugger into play, which I've

Re: [Matplotlib-users] Finding the Supposed MPL show() bug.

2010-02-11 Thread Wayne Watson
file is probably more convenient, but you can more easily see error messages if you open it with IDLE On 2/11/2010 7:38 AM, John Hunter wrote: On Thu, Feb 11, 2010 at 9:18 AM, Wayne Watson sierra_mtnv...@sbcglobal.net wrote: Yes, certainly,as you explained a few days ago, the present

Re: [Matplotlib-users] Finding the Supposed MPL show() bug.

2010-02-11 Thread Wayne Watson
That link has no reference to tkinter. tk and tk2, plus a few others with tk in their names, but nothing else.A search in the box produced nothing. On 2/11/2010 8:36 AM, Wayne Watson wrote: Definitely tkinter. I'll look at the link. Interestingly though, and I think I mentioned

Re: [Matplotlib-users] How Does One Learn to Use MatPlotLib?

2010-02-11 Thread Wayne Watson
radius, I know exactly one other person who knows Python. He's a very bright high school student. On 2/9/2010 10:33 PM, Gökhan Sever wrote: On Tue, Feb 9, 2010 at 8:15 PM, Wayne Watson sierra_mtnv...@sbcglobal.net wrote: Subject is the question. As I see it, it's useful to know MatLab

Re: [Matplotlib-users] Finding the Supposed MPL show() bug.

2010-02-11 Thread Wayne Watson
Thanks. Got detoured by not supported. I think I'll be printing our your messages in the future. I just went back to one just now, and had forgotten about your mentio of pyLab, model. On 2/11/2010 7:38 AM, John Hunter wrote: On Thu, Feb 11, 2010 at 9:18 AM, Wayne Watson sierra_mtnv

[Matplotlib-users] A Menagerie of Imports

2010-02-11 Thread Wayne Watson
For newbies to MPL, needed imports seem a bit baffling. scipy, pylab, matplotlib, ...? What libs or lib components do I only need for a particular use? Suppose I want to produce a scatter, contour, or 3d plot. What do I need minimally or more widely? I'm assuming that I don't want to use

Re: [Matplotlib-users] How Does One Learn to Use MatPlotLib? (PUG)

2010-02-11 Thread Wayne Watson
Well, here's an interesting twist on help, PUG, Python Users Groups. A world wide list is at http://wiki.python.org/moin/LocalUserGroups., The nearest one to me is near San Jose, CA about 180 miles from here, and meets the fourth Thursday of the month. Fortunately, I travel down there fairly

[Matplotlib-users] Does Matplotlib have Image Processing?

2010-02-10 Thread Wayne Watson
See Subject. I see some fairly minimal IP in a image tutorial. I'm thinkig of things like a dark subtract. -- Crime is way down. War is declining. And that's far from the good news. -- Steven Pinker (and other sources) Why is this true, but yet the media says otherwise? The media knows very

Re: [Matplotlib-users] Finding the Supposed MPL show() bug.

2010-02-10 Thread Wayne Watson
others. On 2/10/2010 6:44 PM, Wayne Watson wrote: I chronicled some of my MPL problems here. It appeared that show() could be the problem. The problem is apparently the difference between running the program in IDLE and executing it from the folder (Maybe there's a name for that?). There are only

[Matplotlib-users] Finding the Supposed MPL show() bug.

2010-02-10 Thread Wayne Watson
I chronicled some of my MPL problems here. It appeared that show() could be the problem. The problem is apparently the difference between running the program in IDLE and executing it from the folder (Maybe there's a name for that?). There are only about 8 lines of MPL code to the show() in a

Re: [Matplotlib-users] Verifying the Use of show()? Win XP

2010-02-09 Thread Wayne Watson
Version of Python would help too. I'm using 2.5. On 2/9/2010 8:06 AM, Wayne Watson wrote: I'm sure not making much progress on understanding show(). When used in XP in IDLE or by file execution (click on file name), it seems to tie up the executing program. In IDLE, the shell window stops

Re: [Matplotlib-users] Verifying the Use of show()? Win XP

2010-02-09 Thread Wayne Watson
()? I've since changed it to outbound blocking. On 2/9/2010 8:18 AM, John Hunter wrote: On Tue, Feb 9, 2010 at 10:06 AM, Wayne Watson sierra_mtnv...@sbcglobal.net wrote: ... the last line. show is meant to start the GUI mainloop, which is usually blocking, and raise all windows, so

Re: [Matplotlib-users] Verifying the Use of show()? Win XP

2010-02-09 Thread Wayne Watson
something like: plot.draw() raw_input('Press ENTER to exit') Personally, I also use IDLE on Windows XP to edit my matplotlib files. However, I never execute in IDLE. I simply double click the file in windows explorer. -Ben -Original Message- From: Wayne Watson [mailto:sierra_mtnv

Re: [Matplotlib-users] Verifying the Use of show()? Win XP

2010-02-09 Thread Wayne Watson
Thanks. Completely missed it. (P.S. Reply All +corrected mail filter.) On 2/9/2010 8:18 AM, John Hunter wrote: On Tue, Feb 9, 2010 at 10:06 AM, Wayne Watson sierra_mtnv...@sbcglobal.net wrote: I'm sure not making much progress on understanding show(). When used in XP in IDLE or by file

[Matplotlib-users] How Does One Learn to Use MatPlotLib?

2010-02-09 Thread Wayne Watson
Subject is the question. As I see it, it's useful to know MatLab. A simple query with matplotlib tutorial shows a number of hits. The first, reference to v0.99.a documentation barely qualifies. Examples galore and a pretty minimal introduction. In the first 10 or so hits ther's a blog and

Re: [Matplotlib-users] Difference Between Scatter and Plot? (Zig-Zag)--Solution

2010-02-07 Thread Wayne Watson
the path. Another choice is to define an arrow and orient it in the direction of the next segment. An appealing way to do all of this is to pause drawing the next segment. That way, the dynamics of the path are clearly seen. On 2/5/2010 5:16 AM, Alan G Isaac wrote: On 2/5/2010 12:51 AM, Wayne

Re: [Matplotlib-users] Uninstalling MatPlotLib (win7)? {Site-Packages?] -- Solved

2010-02-07 Thread Wayne Watson
C:\Python25\Lib\site-packages\matplotlib*.egg-info C:\Python25\Removematplotlib.exe C:\Python25\matplotlib-wininst.log The packages dateutil and pytz are also installed along with matplotlib but might be used by other packages too. Christoph On 2/5/2010 12:11 PM, Wayne Watson wrote

[Matplotlib-users] Using bounds on plot axises. Not clear how this works?

2010-02-07 Thread Wayne Watson
The segment below is supposed to plot two columns of (x,y) data and do it in an area 640x480. Apparently, I'm missing how to use v to get this done. It dies at col.axis(v) with list object has no attribute 'axis'. From looking at some MPL examples, it's not clear to me how one uses axis here.

Re: [Matplotlib-users] How to close a plot?

2010-02-07 Thread Wayne Watson
Thanks. It seems most example of matplotlib end with show(). In fact, all may end that way, at least the short ones. On 2/7/2010 1:50 PM, Jeff Whitaker wrote: I need to know how to close a figure/chart in matplot. -- My life in two words. Interrupted Projects. -- WTW (quote originator)

Re: [Matplotlib-users] Using bounds on plot axises. Not clear how this works?

2010-02-07 Thread Wayne Watson
with calls to color the end of lines, or changes the line to dashes? Maybe labels and titles? Although that may be the way pyplot works. On 2/7/2010 3:24 PM, Jae-Joon Lee wrote: try ax1.axis(v) -JJ On Sun, Feb 7, 2010 at 5:16 PM, Wayne Watson sierra_mtnv...@sbcglobal.net wrote

Re: [Matplotlib-users] How to close a plot?

2010-02-07 Thread Wayne Watson
Thanks. It seems most example of matplotlib end with show(). In fact, all may end that way, at least the short ones. On 2/7/2010 1:50 PM, Jeff Whitaker wrote: I need to know how to close a figure/chart in matplolib. -- My life in two words. Interrupted Projects. -- WTW (quote originator)

Re: [Matplotlib-users] How to close a plot?

2010-02-07 Thread Wayne Watson
Well, that didn't quite work. I tried ... fig=figure() ... fig.close() show() and show() fig.close() In the first case, I got the error msg: On 2/7/2010 7:15 PM, Wayne Watson wrote: Figure has no attribute close Thanks. It seems most example of matplotlib end with show(). In fact, all may

Re: [Matplotlib-users] How to close a plot?

2010-02-07 Thread Wayne Watson
In the second case, after x, nothing really happened. The program resecuted the def it was in. On 2/7/2010 7:19 PM, Wayne Watson wrote: Well, that didn't quite work. I tried ... fig=figure() ... fig.close() show() and show() fig.close() In the first case, I got the error msg

[Matplotlib-users] MatPlotLib Usage FAQ Page Needs Some Work.

2010-02-06 Thread Wayne Watson
I can write some fairly decent Python code. In fact, I've recently written 400-500 lines often using numpy. There are still a number of concepts that are fuzzy. I have a modest familiarity of OOP from years ago with C++, and a few things I've picked up from Python. Five years ago, I was

[Matplotlib-users] Uninstalling MatPlotLib (win7)?

2010-02-05 Thread Wayne Watson
I should have installed numpy first, and got some errors installing MPL. I don't see an uninstall in Control Panel Add/Rmv. -- My life in two words. Interrupted Projects. -- WTW (quote originator) -- The Planet:

Re: [Matplotlib-users] Uninstalling MatPlotLib (win7)? {Site-Packages?]

2010-02-05 Thread Wayne Watson
to do next? On 2/5/2010 7:13 AM, Wayne Watson wrote: I should have installed numpy first, and got some errors installing MPL. I don't see an uninstall in Control Panel Add/Rmv. -- My life in two words. Interrupted Projects. -- WTW (quote originator

[Matplotlib-users] Difference Between Scatter and Plot?

2010-02-04 Thread Wayne Watson
Is there a difference between the two (Subject). Perhaps plot connects lines in the order of x? However, scatter does not connect any points? -- My life in two words. Interrupted Projects. -- WTW (quote originator) --

Re: [Matplotlib-users] Difference Between Scatter and Plot? (Zig-Zag)

2010-02-04 Thread Wayne Watson
Simply explained what I'm looking for is a way to draw a zig-zag path indicating a path taken by a particle. Maybe this is best done with some tools outside of the normal plot capabilities? On 2/4/2010 9:02 PM, Wayne Watson wrote: Is there a difference between the two (Subject). Perhaps plot

[Matplotlib-users] Connecting the Dots with Scatter Plot (Motion Jumps)

2010-02-03 Thread Wayne Watson
I have a bunch of (x,y) points that relate to an ordered path of a meteor; however, when plotted they may no become ordered. For example, (0,0), (2,2), (1,1), (3,4) ... Point 2 jumps backwards. I'd like to connect the points with a line, or better, a line with an arrow indicating direction,

[Matplotlib-users] How Exit Gracefully after a Show?

2010-02-03 Thread Wayne Watson
See Subject. I'm looking at an example whose last line is Show(). I see nothing on the graphic that will allow me to exit. If I select the x in the upper right, it dies badly. -- My life in two words. Interrupted Projects. -- WTW (quote originator)

Re: [Matplotlib-users] Printing Graphs and Image Processing Operations

2010-01-19 Thread Wayne Watson
Thanks. I'll keep this in mind when I get to the point when I'm ready to consider it as part of a program I'm writing. Someone in Image-SIG sent me a module he wrote that might be helpful too. Michael Droettboom wrote: Wayne Watson wrote: I've used MPL a bit, and am wondering if there's

[Matplotlib-users] Printing Graphs and Image Processing Operations

2010-01-15 Thread Wayne Watson
available as a library? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet I was thinking about how people seem to read

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-07 Thread Wayne Watson
/darnold/Sites I can get the current directory with: In [13]: pwd Out[13]: '/Users/darnold/Sites' I can move up a directory level with: In [14]: cd .. /Users/darnold Hope this helps. D. On Dec 6, 2009, at 3:01 PM, Wayne Watson wrote: I've seen the tutorial, but need something

[Matplotlib-users] Replying with Thunderbird. Reply All doesn't cut it all the time.

2009-12-07 Thread Wayne Watson
? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet ... humans'innate skills with numbers isn't much better than

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-07 Thread Wayne Watson
-4 12: hist(1-4) 13: _ip.magic(history ) In [14]: edit 3-6 On Dec 7, 2009, at 8:41 AM, Wayne Watson wrote: Good. Thanks. Interesting that ls and pwd are used for Win, but that's fine. How do I copy parts of the window? All I can do at the moment is sweep out a rectangular area

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-07 Thread Wayne Watson
7 File(s) 1,981,573 bytes 0 Dir(s) 82,894,716,928 bytes free Paul M. Hobson Senior Staff Engineer -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time

Re: [Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-07 Thread Wayne Watson
that right-clicking is going to execute behavior, not bring up a contextual menu. -p -Original Message- From: Wayne Watson [mailto:sierra_mtnv...@sbcglobal.net] Sent: Monday, December 07, 2009 12:57 PM To: Gary Pajer Cc: matplotlib-users@lists.sourceforge.net Subject: Re

[Matplotlib-users] I Need a Couple of Tips for Windows to Get Started on IPython

2009-12-06 Thread Wayne Watson
to be where abc.py is or, perhaps say something like %run C:\myPyPrograms\abc.py. Dir doesn't work and I haven't been able to even see what's in the folder. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time

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

2009-12-04 Thread Wayne Watson
Wayne Watson wrote: I do not believe that any of those calculations are based on the pdf, frequency of occurrence-histogram. This, (1, 2,2, 4, 2,5,4) and not this (1,3, 0,2,1). The latter are the frequencies of occurrence for 1,2,3,4,5. John Hunter wrote: On Tue, Dec 1, 2009 at 6:32 AM

[Matplotlib-users] Computing Simple Statistics from a Histogram

2009-12-01 Thread Wayne Watson
Is there some statistics function that computes the mean, std. dev., min/max, etc. from a frequency distribution? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2

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

2009-12-01 Thread Wayne Watson
I do not believe that any of those calculations are based on the pdf, frequency of occurrence-histogram. This, (1, 2,2, 4, 2,5,4) and not this (1,3, 0,2,1). The latter are the frequencies of occurrence for 1,2,3,4,5. John Hunter wrote: On Tue, Dec 1, 2009 at 6:32 AM, Wayne Watson sierra_mtnv

[Matplotlib-users] Installing iPython on Win XP

2009-11-30 Thread Wayne Watson
file? I thought I'd download it and try, but Win doesn't recognize it. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet

[Matplotlib-users] What's Wrong with this Histogram?

2009-11-30 Thread Wayne Watson
, 488, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] fig = pylab.figure() v = array(freq) plt.hist(v, bins=linspace(0,256,nplt_bins+1), normed=1, range=(30,200)) pylab.show() -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr

Re: [Matplotlib-users] What's Wrong with this Histogram?

2009-11-30 Thread Wayne Watson
Le 30 nov. 09 à 16:52, Wayne Watson a écrit : I'm working with a Python program that produces freq below. There are 32 bins. The bins represent 0-7, 8-14, ..., 248 - 255 of a set of frequencies (integer counts). 0 to 255 are the brightness pixel values from a 640x480 frame of b/w pixels. I

Re: [Matplotlib-users] Installing iPython on Win XP

2009-11-30 Thread Wayne Watson
interactive program, and it's total interface is the DOS like console? I see one must use properties of the Window to change its size. I would think there would be a way to make these the same each time? I think there's a tutor for this, so it looks like I need to visit it. Wayne Watson wrote

Re: [Matplotlib-users] What's Wrong with this Histogram?

2009-11-30 Thread Wayne Watson
Another related question. is there some statistics function that computes the mean, std. dev., min/max, etc. from a frequency distribution? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz

Re: [Matplotlib-users] A Simple Example of histogram Using Range?

2009-11-29 Thread Wayne Watson
, 3, 4, 5], range=(0, 8)) plt.savefig(hist_0_8.png) plt.close(fig) print finished Johan Grönqvist wrote: Wayne Watson skrev: Anyway, where, folder, does your program write the files? I'm not familiar with figure, but apparently using it produces some canvas that plt.hist places it's output

[Matplotlib-users] Object Module is not callable, traceback

2009-11-29 Thread Wayne Watson
: 'module' object is not callable What's the problem here? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet 350 350

Re: [Matplotlib-users] Object Module is not callable, traceback

2009-11-29 Thread Wayne Watson
Eric Firing wrote: Wayne Watson wrote: I have a fairly large program that uses pylab and company. I want to use the matplot histogram function. Here are the declarations at the start. I added import matplotlib as mpl -start from Tkinter import * from numpy import

Re: [Matplotlib-users] Object Module is not callable, traceback

2009-11-29 Thread Wayne Watson
. Examples for matplotlib abound, but not much about how MATLAB concepts like figure shows up anywhere. Is that all in pylab docs? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7

[Matplotlib-users] A Simple Example of histogram Using Range?

2009-11-28 Thread Wayne Watson
See Subject. I don't seem able to produce a simple example of using histogram that uses range. I tried a variety of ranges, range=(0,22), range=(0, 50.2), ... and I see no difference between any of the x values scale. Can someone provide an example that shows how it works? -- Wayne