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
is written in python, so it is easy to extend. matplotlib is used in
the finance
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
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 may be
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 we get:
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 like that
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 are two
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 should be
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 data?
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.
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 so OO
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 just need
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/libcblas.a
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 avail what do
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 libraries.
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
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 starting
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 depending on data
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
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, too.
Hey
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 interfaces.
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 to specify
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. Once
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 = datetime.now()
9
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, mostly
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 appreciate
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
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 wink
JDH
--
http://mail.python.org/mailman/listinfo/python-list
Jorl == Jorl Shefner [EMAIL PROTECTED] writes:
JorlI'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 legend for
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 other programs, as if
/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
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?
It looks like
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 seen the
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
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 tarballs
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
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? If
you
Robert == Robert Kern [EMAIL PROTECTED] writes:
RobertH = 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 for
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
unnecessary
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.1 on Linux and
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 LineCollection).
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),
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 recent call
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 will
Colombes == Colombes [EMAIL PROTECTED] writes:
ColombesNow 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, plots.
You can
Jorl == Jorl Shefner [EMAIL PROTECTED] writes:
JorlThe 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 number of outputs
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., put numarray in
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 hardest
syd
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
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, but I'm
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
Derek 10**2
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*. For the
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 (see FIR
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 input, line 1 help scipy.filter ^
SyntaxError: invalid syntax
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] import scipy
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 searching I
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 than above
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, nbins=9,
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 best
[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 PROTECTED] code
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
--
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
basically the
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 assemble to
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
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 attractive look.
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
Christoph
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 hell that
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 still lacking
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
mostro a graph.
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 = figure()
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 enthought traits
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 evidenced by
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-packages/pylab.py is
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 for the entire
78 matches
Mail list logo