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
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
, 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
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
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
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
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
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
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
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 *
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
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.
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
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
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
: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
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,
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
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
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.
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
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
: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
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
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
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
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
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
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
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
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
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
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
()? 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
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
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
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
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
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
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.
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)
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
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)
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
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
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
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:
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
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)
--
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
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,
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)
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
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
/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
?
--
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
-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
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
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
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
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
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
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
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
, 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
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
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
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
, 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
: '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
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
. 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
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
73 matches
Mail list logo