[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 great

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

2010-08-08 Thread Wayne Watson
Well, 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, sci

[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] 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 >

[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 do

[Matplotlib-users] [OT] Bay Area PUG Meeting Speaker Thursday in Mountain View, CA?

2010-02-24 Thread Wayne Watson
Anyone here going to the meeting, see Subject? As far as I can tell, it meets from 7:30 to 9 pm. Their site shows no speaker yet, and there seems to be an informal group dinner at 6 pm at some place yet unknown. Are there other events and activities at the meeting? Pre-speaker events? Demonstra

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

2010-02-21 Thread Wayne Watson
Thanks. A small lesson in sequences. I'm slowly beginning to breath Python air. On 2/21/2010 7:44 AM, Alan G Isaac wrote: > On 2/21/2010 10:29 AM, Wayne Watson wrote: > >> plot(2.8,3.4) doesn't work in my program >> >> > Why should it? > Plot

[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 x,y

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

2010-02-21 Thread Wayne Watson
but apparently do not tell the whole 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 y

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+files&l=1> leads me to > <http://www.py2exe.org/index.cgi/MatPlotLib>. > > - Christoph > > On 2/1

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

2010-02-19 Thread Wayne Watson
right now. An objection 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 py

[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 * rand(N

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

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. > > --

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

[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 h

Re: [Matplotlib-users] Down Another Pathway with Plot-Show (Finsihed!)

2010-02-14 Thread Wayne Watson
, but they both work. So far so good. Done. Now to add the individual markers to the path at key points, as per finally concluding that wild goose chase with Jae-Joon Lee a short while ago. On 2/12/2010 7:40 PM, Wayne Watson wrote: > Certainly in IDLE, when one hits a show() in a def,

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

2010-02-14 Thread Wayne Watson
On Sat, Feb 13, 2010 at 11:28 PM, Wayne Watson > 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

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

[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

[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, emoti

[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] 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

[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] 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

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 ., 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] 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 impor

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, Wayn

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

2010-02-11 Thread Wayne Watson
a 50 mile 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&#x

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] Finding the Supposed MPL show() "bug".

2010-02-11 Thread Wayne Watson
icking the py 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 wrote: Yes, certainly,as  you explained a few days ago, the present use is incompa

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

2010-02-11 Thread Wayne Watson
/10/2010 7: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 > interac

[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 de

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

2010-02-10 Thread Wayne Watson
have used 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

[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 w

[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 menti

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 > wrote: > >> I'm sure not making much progress on understanding show(). When used in >> XP in IDLE or b

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

2010-02-09 Thread Wayne Watson
ow() you should do 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. > > -

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

2010-02-09 Thread Wayne Watson
be in anyway associated with the use of show()? 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 > wrote: > ... >> the last line. >> > "show" is meant to start the GUI mainlo

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

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

2010-02-09 Thread Wayne Watson
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 and one must exit the window. I'd appreciate it if someone could take any examples from

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

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, &

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 originato

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

2010-02-07 Thread Wayne Watson
ax1 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 >

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 origina

[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.

[Matplotlib-users] show() Me the Way to Go Home (IDLE/Win)

2010-02-07 Thread Wayne Watson
Note the show() on the last line below. If I run this program from IDLE, it displays the graph, and sits there. I would like to finish, by getting to an active shell script. If I close the figure using x in the upper right, it disappears. Now two windows are seen. The code and script window.

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

2010-02-07 Thread Wayne Watson
7;ve done. I think this is really wrapped up. On 2/7/2010 9:54 AM, Alan G Isaac wrote: > Wayne Watson wrote: > >> The cumsum (summation) buffaloes me. >> > That is just to create some artificial data, > to illustrate. If you have the coordinates > in a 2

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

2010-02-07 Thread Wayne Watson
L folder under site-packages and an info MPL file >> of 540 bytes. There are also pylab.py, pyc,and py0 files under site. >> What to do next? >> >> On 2/5/2010 7:13 AM, Wayne Watson wrote: >>

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

2010-02-07 Thread Wayne Watson
. R,G,B is repeated along 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: >

[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 worki

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

2010-02-05 Thread Wayne Watson
. What 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 Projec

[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: dedic

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). Perh

[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) --

[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)

[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, so

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,

[Matplotlib-users] Printing Graphs and Image Processing Operations

2010-01-15 Thread Wayne Watson
lity that's already 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 &quo

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

2009-12-07 Thread Wayne Watson
://www.copy--paste.org/copy-paste-between-dos-windows.htm >> >> Note that right-clicking is going to execute behavior, not bring up a >> contextual menu. >> >> -p >> >> >>> -Original Message- >>> From: Wayne Watso

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

2009-12-07 Thread Wayne Watson
y-paste-between-dos-windows.htm > > Note 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

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

2009-12-07 Thread Wayne Watson
nth. Gary Pajer wrote: > On Mon, Dec 7, 2009 at 11:41 AM, Wayne Watson > mailto:sierra_mtnv...@sbcglobal.net>> > 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 a

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

2009-12-07 Thread Wayne Watson
147,663 frLarch_elev.pdf > 05/12/2009 10:30 AM28,029 gear.pdf > 03/11/2009 09:56 AM30,622 test.pdf > 08/27/2009 09:18 AM17,175 tidal_cdf.pdf > 11/16/2009 08:20 AM 118,902 zoom_test.pdf > 11/16/2009 08:18 AM 124,000 zoom

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

2009-12-07 Thread Wayne Watson
c("magic ") > 9 : _ip.magic("automagic ") > 10: _ip.magic("automagic ") > 11: his 1-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. Thank

[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 muc

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

2009-12-07 Thread Wayne Watson
ab_crash_dump.344 > LizThesis/Sites/matlab_crash_dump.415 > > I can cd into my Sites folder with: > > In [12]: cd Sites > /Users/darnold/Sites > > I can get the current directory with: > > In [13]: pwd > Out[13]: '/Users/darnold/Sites'

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

2009-12-06 Thread Wayne Watson
h %run, I need 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

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

2009-12-04 Thread Wayne Watson
[bin_center]*n)) > > Kind regards, > Matthias > > On Tuesday 01 December 2009 17:51:31 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 >>

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 >

[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&qu

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] What's Wrong with this Histogram?

2009-11-30 Thread Wayne Watson
(0,255,8) > plt.show() > > Le 30 nov. 09 à 17:46, Wayne Watson a écrit : > >> That helped by using the original data of 256 elements. So all the >> large values in the array beyond 120 would be tiny bars stretched >> out to x of about 127516. OK, now with t

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

2009-11-30 Thread Wayne Watson
urely 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. Way

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

2009-11-30 Thread Wayne Watson
at 121, with some rescaling. > > Pierre > > 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).

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

2009-11-30 Thread Wayne Watson
508, 2082, 1200, 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 D

[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°

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

2009-11-29 Thread Wayne Watson
he shell (IDLE) did not provide a >> prompt, nor did it produce my print of "End of Histogram" that followed plt.hist. Closing the shell revealed something was still running. I may have to go to the console for execution to see what that's about. I've heard of ipyth

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 >&

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

2009-11-29 Thread Wayne Watson
user\sentuser_20090103+hist.py", line 504, in ShowHistogram fig = mpl.figure() TypeError: 'module' object is not callable What's the problem here? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg.

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

2009-11-29 Thread Wayne Watson
.png") plt.close(fig) fig = plt.figure() plt.hist([1, 2, 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

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

2009-11-29 Thread Wayne Watson
I am confused. Let's see. I want to know how to use a histogram in Python, so there is a histogram function and a hist. So a histogram is for histograms. What fun word play. :-) Maybe numpy should have called their function ahistogram! Johan Grönqvist wrote: > Wayne Watson skrev: >

[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? --