> "gurkesaft" == gurkesaft <[EMAIL PROTECTED]> writes:
gurkesaft> Thank you, Robert. I noticed how obsolete it is!
gurkesaft> There is no documentation.
gurkesaft> Matplotlib freezes my system if I close a plot and make
gurkesaft> a new one :(. Bah. Windows :)
Have you se
> "Philippe" == Philippe C Martin <[EMAIL PROTECTED]> writes:
Philippe> I suggest you google 'C++ tutorial' Regards,
Stroustup's "The C++ Programming Language" is the best C++ book I've
read. It is at a fairly high level, and I already had read several
C++ books before reading it, so it
> "jean" == jean rossier <[EMAIL PROTECTED]> writes:
jean> Hello All, I am facing a problem while importing pylab
jean> library(in a .py program file) via web browser however the
jean> same program works when I execute it from the command
jean> prompt.
jean> Error message
> "Johnny" == Johnny Lin <[EMAIL PROTECTED]> writes:
Johnny> Hi! Is there a way to automate the unbinding of multiple
Johnny> variables? Say I have a list of the names of all
Johnny> variables in the current scope via dir(). Is there a
Johnny> command using del or something
> "Yun" == Yun Mao <[EMAIL PROTECTED]> writes:
Yun> 2. Is there a way to do Matlab style slicing? e.g. if I have
Yun> i = array([0, 2]) x = array([1.1, 2.2, 3.3, 4.4]) I wish y =
Yun> x(i) would give me [1.1, 3.3] Now I'm using map, but it gets
Yun> a little annoying when there
> "Xah" == Xah Lee <[EMAIL PROTECTED]> writes:
Xah> at places often a whole paragraph on some so called computer
Xah> science jargons should be deleted. They are there more to
Xah> showcase inane technicality than do help the
Xah> reader. (related, many passages with jargons sh
> "Jan" == Jan Rienyer Gadil <[EMAIL PROTECTED]> writes:
Jan> could anyone please help me! what and how is the best
Jan> implementation of creating a table based on data coming from
Jan> the serial port ? and also how would i be able to create
Jan> graphs (2D) based on these d
matplotlib is a 2D graphics package that produces plots from python
scripts, the python shell, or embeds them in your favorite python GUI
-- wx, gtk, tk, fltk currently supported with qt in the works. Unlike
many python plotting alternatives is written in python, so it is
easy to extend. matplotli
In matplotlib using the tkagg backend, the tk mainloop is started at
the end of a python script by issuing a call to a "show" function,
which realizes all the created figure windows and the calls
Tkinter.mainloop(). This can cause problems if the mainloop was
started by another module (eg idle).
> "Davor" == Davor <[EMAIL PROTECTED]> writes:
Davor> not really - it was not my intention at all - but it seems
Davor> people get upset whenever this OO stuff is mentioned - and
Davor> what I did not expect at all at this forum as I believed
Davor> Python people should not be
> "beliavsky" == beliavsky <[EMAIL PROTECTED]> writes:
beliavsky> I think the OO way is slightly more obscure. It's
beliavsky> obvious what x = reverse(x) does, but it is not clear
beliavsky> unless you have the source code whether x.reverse()
You don't need to read the src, you
> "drife" == drife <[EMAIL PROTECTED]> writes:
drife> Hello, Could someone please provide instructions for
drife> install Numeric with ATLAS and LAPACK?
Locate libcblas.a and add that dir to the setup.py library_dirs_list.
Eg on my system, /usr/local/lib/ATLAS/lib/Linux_P4SSE2_2/libc
Does anyone have any example scripts using the OpenOffince
python-bridge module pyuno to load xls, extract the data, and/or save
to another format such as xsc or csv.
Thanks,
JDH
--
http://mail.python.org/mailman/listinfo/python-list
> "drife" == drife <[EMAIL PROTECTED]> writes:
drife> Thanks John. Those are the steps I followed, and to no
drife> avail.
Make sure you get a clean build by rm -rf ing the build dir before you
build again. Then capture the output of your build to a file. When
you say "to no avai
> "drife" == drife <[EMAIL PROTECTED]> writes:
drife> Hi David, I performed the above check, and sure enough,
drife> Numeric is --not-- linked to the ATLAS libraries.
drife> I followed each of your steps outlined above, and Numeric
drife> still is not linking to the ATLAS lib
I have a question about what it takes to trigger GPL restrictions in
python code which conditionally uses a GPL library.
Here is the context of my question. matplotlib, which I develop, is a
plotting module which is distributed under a PSF compatible license,
and hence we avoid using GPLd code s
> "dimitri" == dimitri pater <[EMAIL PROTECTED]> writes:
dimitri> Hello, I am looking for a Python tool to create graphs
dimitri> and charts on a webpage. Chartdirector is too expensive
dimitri> for me. A simple script for creating a barchart should be
dimitri> sufficient as a
> "Frans" == Frans Englich <[EMAIL PROTECTED]> writes:
Frans> Hello,
Frans> Since Python doesn't have static typing, how is the same
Frans> result as traditional function overloads results in
Frans> acheived? With function overloads the "selection of code
Frans> path depen
I am trying to generate a mesh for a finite volume solver (gambit,
fluent) from 3D image data (CT, MRI). To generate the fluent msh
file, you need not only a list of vertices and polygons, much like
what is available in the vtk file format, but also the volume elements
in the mesh that the polygo
> "Paul" == Paul Rubin <"http://phr.cx"@NOSPAM.invalid> writes:
Paul> Various possible candidates for such dragging have
Paul> apparently decided that their chances weren't too good.
Or simply that it wasn't worth the cost to go to court, even if they
presumed they would eventually wi
> "Fernando" == Fernando Perez <[EMAIL PROTECTED]> writes:
Fernando> I hope you posted this on the VTK list with a CC to
Fernando> Prabhu as well... The hopes of a positive reply there
Fernando> are, I suspect, a fair bit higher. The scipy list would
Fernando> be a good idea,
> "Evrim" == Evrim Ozcelik <[EMAIL PROTECTED]> writes:
Evrim> We are developing a medical software about PSG
Evrim> (PolySomnoGraphy) analysis. The application takes signal
Evrim> data from an electronic device and we will show this
Evrim> continious signal function on the inte
matplotlib is a 2D plotting package for python. This is a summary of
recent developments in matplotlib since 0.80. For detailed notes, see
http://matplotlib.sf.net/whats_new.html,
http://matplotlib.sf.net/CHANGELOG and
http://matplotlib.sf.net/API_CHANGES
== Whats New ==
matplotlib wiki: this
> "stephen" == stephen <[EMAIL PROTECTED]> writes:
stephen> Is there a better way of doing this so that I don't have
stephen> to go through every permutation of possible arguments
stephen> (the example here from the matplotlib 'plot' function):
You can make linecolor=None and lin
> "Matt" == Matt Feinstein <[EMAIL PROTECTED]> writes:
Matt> Hi all-- I'm planning to try to do a completely local
Matt> install of matplotlib (in Fedora Core 1)-- the system
Matt> administrator isn't going to stop me-- but he isn't going to
Matt> cooperate either. I've got the
> "Matt" == Matt Feinstein <[EMAIL PROTECTED]> writes:
Matt> All in all, not actually excruciating-- and now I have a
Matt> working version of matplotlib! Matt Feinstein
Great! While this is all fresh in your mind, would you be able to add
a wiki entry at
http://www.scipy.org/wikis/
> "James" == James Sungjin Kim <[EMAIL PROTECTED]> writes:
James> Michele Simionato wrote:
>> My vote is for ipython + matplotlib. Very easy and very
>> powerful.
James> Is it really easier than to use MATLAB(TM)?
Do you find matlab easy to use? What aspects are hard or easy
> "Robert" == Robert Kern <[EMAIL PROTECTED]> writes:
Robert>H = U*D*V.T
Robert> then I'm more than happy with that tradeoff. The small
Robert> syntactic conveniences MATLAB provides are dwarfed by the
Robert> intrinsic power of Python.
Of course, U*D*V (transpose omitted
> "Robert" == Robert Kern <[EMAIL PROTECTED]> writes:
Robert> Greg McIntyre wrote:
>> The 2nd option has real potential for me. Although the total
>> amount of code is greater, it factors out some complexity away
>> from the actual job, so that code is not obscured by
>> un
> "Robert" == Robert Kern <[EMAIL PROTECTED]> writes:
Robert> [EMAIL PROTECTED] wrote:
>> Is SciPy usable with Python 2.4.1? At
>> http://www.scipy.org/download/ it says that 2.3.3 is
>> recommended, and I don't see a binary for 2.4.1.
Robert> It is usable with Python 2.4.
> "Thierry" == Thierry Lam <[EMAIL PROTECTED]> writes:
Thierry> Let's say I have the following data: 500 objects: -100
Thierry> are red -300 are blue -the rest are green
Thierry> Is there some python package which can represen the above
Thierry> information in a pie chart?
I
> "Colombes" == Colombes <[EMAIL PROTECTED]> writes:
Colombes> Using MatPlotLib plot function, is there a way to get
Colombes> variable size plot symbols? For example, using symbol
Colombes> strings like 'o' (circle), 's' (square), 'x' (cross),
Colombes> etc., is there a way
> "Francis" == Francis Girard <[EMAIL PROTECTED]> writes:
Francis> PyX might also be interesting, depending on your needs.
While pyx is a very nice package, it is probably not a good choice for
web app developers simply because it generates postscript, which is
not very browser friendly.
> "mjs7231" == mjs7231 <[EMAIL PROTECTED]> writes:
mjs7231> This is no good, I am looking for milliseconds, not
mjs7231> seconds.. as stated above.
Well seconds/1000.0 = millseconds -- or are you worries about floating
point error?
7 >>> from datetime import datetime
8 >>> dt = date
> "scott" == scott <[EMAIL PROTECTED]> writes:
scott> I am trying to convert a python app that uses matplotlib to
scott> a standalone executable using py2exe.
scott> After running py2exe and executing my app I get the
scott> following stack trace:
scott> Traceback (most
> "Colombes" == Colombes <[EMAIL PROTECTED]> writes:
Colombes> matplotlib.matlab deprecated, please import
Colombes> matplotlib.pylab or simply pylab instead. See
Colombes> http://matplotlib.sf.net/matplotlib_to_pylab.py for a
Colombes> script which explains this change and w
> "Colombes" == Colombes <[EMAIL PROTECTED]> writes:
Colombes>Now I only need to figure out how to install the
Colombes> correct "Numeric" module(s). I'm making progress,
Colombes> almost have my home laptop fully capable with the
Colombes> MatLab-like (PyLab) graphs, plo
> "Jorl" == Jorl Shefner <[EMAIL PROTECTED]> writes:
Jorl>The obvious solution is to plot the lines and symbols in
Jorl> two different commands: ___
You want to explicitly pass the lines you want to legend into the
legend command, as in
Symb=
> "les" == les ander <[EMAIL PROTECTED]> writes:
les> Hi, matlab has a useful function called "textread" which I am
les> trying to reproduce in python.
les> two inputs: filename, format (%s for string, %d for integers,
les> etc and arbitary delimiters)
les> variable numbe
> "Phillip" == Phillip Bowden <[EMAIL PROTECTED]> writes:
Phillip> I feel that I've learned the language pretty well, but
Phillip> I'm having trouble thinking of a medium to large project
Phillip> to start.
Some of these may be on the "large" side, but
- Provide a full-feature
> "duane" == duane osterloth <[EMAIL PROTECTED]> writes:
duane> I'm looking for a stand alone email program which is not
duane> browser based. I simply want to write, send and receive
duane> email without accessing the internet. Is Python 3.0 that
duane> kind of program? I'd
For the first time, I am trying to compile a matplotlib installer for
win32 / python2.4 under cygwin. I tested this earlier with one of the
pre-release candidates and had no troubles. But when I compile with
python2.4, I get the following error when I try and import my
extension code
the proc
> "Cameron" == Cameron Laird <[EMAIL PROTECTED]> writes:
Cameron> I don't understand the last sentence; in particular,
Cameron> "fort hsi" is beyond my power to decode unambiguously.
"for this", clearly
JDH
--
http://mail.python.org/mailman/listinfo/python-list
> "sf" == sf <[EMAIL PROTECTED]> writes:
sf> Just started thinking about learning python. Is there any
sf> place where I can get some free examples, especially for
sf> following kind of problem ( it must be trivial for those using
sf> python)
sf> I have files A, and B ea
> "Jorl" == Jorl Shefner <[EMAIL PROTECTED]> writes:
Jorl>I've only been able to plot data with both symbols and
Jorl> lines by issuing two plot commands, one for markers and one
Jorl> for lines. That's perfectly fine, but it creates a problem
Jorl> when I try to create a
> "djw" == djw <[EMAIL PROTECTED]> writes:
djw> PyGame?
djw> http://www.pygame.org/
Seconded, despite the plethora of packages proposed in response to the
original query, pygame seems like a clear winner for the problem
described.
And this coming from the author a different graphic
> "kjm" == kjm <[EMAIL PROTECTED]> writes:
kjm> Hi Everyone, I am trying to port some old MatLab code to
kjm> python, and am stuck on how to accomplish something.
kjm> I am trying to write a generalized function that will create
kjm> a linearly spaced vector, given the start
> "kjmacken" == kjmacken <[EMAIL PROTECTED]> writes:
kjmacken> Thanks for the code snippets guys. Exactly what I
kjmacken> needed to get going. I knew I could get the solution
kjmacken> from matplotlib, but getting it installed using Fink (OS
kjmacken> X) has been giving me
> "Squirrel" == Squirrel Havoc <[EMAIL PROTECTED] (takeout) (takeout)>
> writes:
Squirrel> Hello. I am sorry if this has been asked before, but I
Squirrel> am new here.
Welcome
Squirrel> If I recall correctly, Python can be used as a scripting
Squirrel> language for othe
tp://sourceforge.net/projects/matplotlib
Screenshots : http://matplotlib.sourceforge.net/screenshots.html
Tutorial: http://matplotlib.sourceforge.net/tutorial.html
Credits : http://matplotlib.sourceforge.net/credits.html
John Hunter
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to utilize the config module in distutils to test for
certain headers and libraries and fail elegantly if they are not found
with a helpful message. The typical gcc error message when a header
is missing is inscrutable to many.
I have subclassed config and can use my class with
>
> "Matt" == Matt Feinstein <[EMAIL PROTECTED]> writes:
Matt> I'm working my way through the matplotlib documentation &
Matt> there's a point that's ambiguous-- the pdf file (dated
Matt> Mar. 1, 2005) warns of dire consequences if I use the
Matt> 'wrong' array package-- e.g., pu
> "syd" == syd <[EMAIL PROTECTED]> writes:
syd> As for matplotlib, I checked it out. Looks amazing! I
syd> really, really like what demos I tried.
syd> HOWEVER, I could not find a good way to do smoothing. I like
syd> the gnuplot bezier smoothing. This wouldn't be the har
matplotlib is a 2D graphics package that produces plots from python
scripts, the python shell, or embeds them in your favorite python GUI
-- wx, gtk, tk, fltk and qt. Unlike many python plotting alternatives
it is written in python, so it is easy to extend. matplotlib is used
in the finance indu
> "Charles" == Charles Krug <[EMAIL PROTECTED]> writes:
Charles> List: I'm trying to us pylab to see what I'm doing with
Charles> some DSP algorithms, in case my posts about convolution
Charles> and ffts weren't giving it away.
Charles> I've been using pylab's plot function, b
> "bearophileHUGS" == bearophileHUGS <[EMAIL PROTECTED]> writes:
bearophileHUGS> I think MatPlotLib can do this too, if your
bearophileHUGS> computer is fast enough.
>> i would also like to have the bars and graphs have nice shading
>> if possible to give it a really attracti
> "[EMAIL PROTECTED]" == [EMAIL PROTECTED] com <[EMAIL PROTECTED]> writes:
[EMAIL PROTECTED]> whenever you are using a package that leaks memory.
[EMAIL PROTECTED]> it can be appropriate to use Rpyc
[EMAIL PROTECTED]> (http://rpyc.wikispaces.com/) to run the leaking
[EMAIL PROT
I have a curses app that is displaying real time data. I would like
to bind certain keys to certain functions, but do not want to block
waiting for
c = screen.getch()
Is it possible to register callbacks with curses, something like
screen.register('keypress', myfunc)
Thanks,
JDH
--
ht
> "Bryan" == Bryan <[EMAIL PROTECTED]> writes:
Bryan> hi, what is the difference among numeric, numpy and
Bryan> numarray? i'm going to start using matplotlib soon and i'm
Bryan> not sure which one i should use.
numpy is the successor to numarray and Numeric. All three do
basic
> "mart" == mart jeeha <[EMAIL PROTECTED]> writes:
mart> Hey folks, I got a problem in printing images from a
mart> matplotlib - FigureCanvas Object (child of a wxFrame,
mart> library backend_wx) into jpeg-formatted files. (I like to
mart> create a sequence of images that I can
The following behavior surprised me. I have a Tk window and launch a
file save dialog from it. When the filesave dialog is finished, it
calls callbacks bound to the destroy event on the main window. Is
this expected, and can I avoid this?
To expose the problem, run this script and click the mo
> "Christoph" == Christoph Haas <[EMAIL PROTECTED]> writes:
Christoph> Hi, list... I wondered if it's possible to use global
Christoph> (module) variables as default parameters. A simple
Christoph> working example:
Christoph>
Chris
> "lisa" == lisa engblom <[EMAIL PROTECTED]> writes:
lisa> Hi, I am using matplotlib with python to generate a bunch of
lisa> charts. My code works fine for a single iteration, which
lisa> creates and saves 4 different charts. The trouble is that
lisa> when I try to run it fo
> "bwaha" == bwaha <[EMAIL PROTECTED]> writes:
bwaha> added the location argument. Finally realised it was due to
bwaha> having a default of 'best' location in my code which meant
bwaha> it went searching for intersection with lines that don't
bwaha> exist (outside of the LineC
> "Derek" == Derek Basch <[EMAIL PROTECTED]> writes:
Derek> Thanks for the reply. I need a scatter plot though. Can
Derek> that be done?
You can set the scale of xaxis and yaxis to either log or linear for
scatter plots
In [33]: ax = subplot(111)
In [34]: ax.scatter( 1e6*rand(1000),
> "Derek" == Derek Basch <[EMAIL PROTECTED]> writes:
Derek> Great! That worked fine after I played with it for a
Derek> bit. One last question though. How do I label the ticks
Derek> with the product of the exponentiation? For instance:
Derek> 100
Derek> instead of
D
> "Derek" == Derek Basch <[EMAIL PROTECTED]> writes:
Derek> formatter = FuncFormatter(log_10_product)
Derek> ax.xaxis.set_major_formatter(formatter)
Derek> ax.yaxis.set_major_formatter(formatter)
I would caution you against using identical objects for the x and y
axis *Locators*.
> "AgenteSegreto" == AgenteSegreto <[EMAIL PROTECTED]> writes:
AgenteSegreto> I've been a Matlab user for years and have recently
AgenteSegreto> started using Python with matplotlib and NumPy for
AgenteSegreto> most of my work. The only thing I found that is
AgenteSegreto> st
> "mostro" == mostro <[EMAIL PROTECTED]> writes:
mostro> Hello, Can someone lead me to an easy way to create a
mostro> graph in Python.
mostro> For example, I have a script running that creates a list
mostro> of dates, times and values. I would like to turn this into
most
> "Andrew" == Andrew Koenig <[EMAIL PROTECTED]> writes:
Andrew> This may be a foolish question, but what's the most
Andrew> straightforward way to plot a bunch of data in Python?
in matplotlib/pylab
from pylab import figure, show
x = range(10)
y = [val**2 for val in x]
fig =
> "redefined" == redefined horizons <[EMAIL PROTECTED]> writes:
redefined> Here is another non-pythonic question from the Java
redefined> Developer. (I beg for forgiveness...)
redefined> Does Python have a mechanism for events/event-driven
redefined> programming?
The enthough
> "Alex" == Alex Martelli <[EMAIL PROTECTED]> writes:
Alex> I have a certain fondness for the first over-100-lines
Alex> module I wrote for Python, which eventually resulted in:
As well you should! YAPTU powers the entire matplotlib website
(screenshots, FAQ, what's new, etc), as evi
> "Diez" == Diez B Roggisch <[EMAIL PROTECTED]> writes:
>> I use debian/testing linux Linux debian/testing 2.6.15-1-686
>>
>> I found some duplicate files in my system, I don't if the are
>> both needed, should I delete one of the groups below and which
>> one?
site-packa
> "LabWINC" == LabWINC <[EMAIL PROTECTED]> writes:
LabWINC> Hi all, i'm looking for a module to implement a digital
LabWINC> FIR filter! Can anyone help me?
scipy.org
Between scipy and matplotlib, you'll feel quite comfortable with
python as a former matlab user
help scipy.filter
> "Terry" == Terry Reedy <[EMAIL PROTECTED]> writes:
Terry> "LabWINC" <[EMAIL PROTECTED]> wrote in message
Terry> news:[EMAIL PROTECTED]
>> If i type help scipy.filter it give me an error
>>
>> help scipy.filter File "", line 1 help scipy.filter ^
>> SyntaxError: inval
> "tkpmep" == tkpmep <[EMAIL PROTECTED]> writes:
tkpmep> I want to compute the correlation between two sequences X
tkpmep> and Y, and tried using SciPy to do so without success.l
tkpmep> Here's what I have, how can I correct it?
X = [1, 2, 3, 4, 5] Y = [5, 4, 3, 2, 1] im
> "Enigma" == Enigma Curry <[EMAIL PROTECTED]> writes:
Enigma> I'm playing around with matplotlib for the first time. I'm
Enigma> trying to make a very simple histogram of values 1-6 and
Enigma> how many times they occur in a sequence. However, after
Enigma> about an hour of se
> "Enigma" == Enigma Curry <[EMAIL PROTECTED]> writes:
Enigma> pylab.xlim(0.5,6.5) should be:
Enigma> pylab.xlim(min_x-(bar_width/2),max_x+(bar_width/2))
Glad it's working better for you -- just a couple more smallish hints.
You might prefer to have your grid lines behind, rather th
> "Caleb" == Caleb Hattingh <[EMAIL PROTECTED]> writes:
Caleb> It seems that the locater() classes are where I should
Caleb> look, and there seem to be some defaults in ticker.py:
Caleb> class AutoLocator(MaxNLocator): def __init__(self):
Caleb> MaxNLocator.__init__(self, nbin
> "Scott" == Scott David Daniels <[EMAIL PROTECTED]> writes:
Scott> I cannot find the distance in meters between Paris and
Scott> London with: for i in range(10): print i
Works for me
def range(x):
yield '332.8 km'
for i in range(10):
print i
...may not be considered b
> "Michael" == Michael Sperlle <[EMAIL PROTECTED]> writes:
Michael> Is it possible? Bestcrypt can supposedly be set up on
Michael> linux, but it seems to need changes to the kernel before
Michael> it can be installed, and I have no intention of going
Michael> through whatever h
81 matches
Mail list logo