Hi
fm.py
Description: Binary data
--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
hi,
I want to overplot N curves calling the plot(X) function N times.
I also would like to have a way to which curve has been drawn first and so on.
If N would en small and constant, I could simply call color_cycle with
a short list as parameter...but it is not quite an option with up to
50
Hi,
I'm use to compile the mpl git tree but I get an error with the current one:
running build_ext
building 'matplotlib.backends._tkagg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -fPIC
compile options: '-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
Hi,
It looks like the matplotlib-py3 branch is worknig well both with
python2.X and python3.X.
Is there a plan to merge the changes from matplotlib-py3 into the
default trunk anytime soon?
Xavier
--
EditLive
On 06/13/2011 07:38 PM, Darren Dale wrote:
On Mon, Jun 13, 2011 at 12:25 PM, Michael Droettboommd...@stsci.edu wrote:
This was recently discussed in the thread v1.0.x branch seems confused.
I (believe) the consensus was to get out another v1.0.x maintenance
release out in the near future
On 04/23/2011 03:19 AM, Paul Ivanov wrote:
Hi Xavier,
Xavier Gnata, on 2011-04-23 02:33, wrote:
Imagine you have this code:
import numpy as np
import matplotlib.cm as cm
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
delta = 0.25
x = y = np.arange
Hi,
Imagine you have this code:
import numpy as np
import matplotlib.cm as cm
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
delta = 0.25
x = y = np.arange(-3.0, 3.0, delta)
X, Y = np.meshgrid(x, y)
Z1 = mlab.bivariate_normal(X, Y, 1.0, 1.0, 0.0,
Hi,
It looks like the
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/py3k/
in dead.
The last commit was 8months ago.
Numpy is ok with python3.1, scipy is ok, nose is ok, ipython is usable.
Ubuntu already provides python-tk for python3.x
It would be nice to port matplotlib to
On 03/20/2011 07:19 PM, Darren Dale wrote:
On Sun, Mar 20, 2011 at 2:08 PM, Xavier Gnataxavier.gn...@gmail.com wrote:
Hi,
It looks like the
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/py3k/
in dead.
The last commit was 8months ago.
Numpy is ok with python3.1, scipy
On 01/03/2011 05:29 PM, Ryan May wrote:
On Mon, Jan 3, 2011 at 9:28 AM, Darren Daledsdal...@gmail.com wrote:
On Mon, Jan 3, 2011 at 9:45 AM, Ryan Mayrma...@gmail.com wrote:
On Sun, Jan 2, 2011 at 12:24 PM, Xavier Gnataxavier.gn...@gmail.com
wrote:
which backend should we use?
It does not work with pyqt4
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/local/lib/python3.1/dist-packages/pylab.py, line 1, in
module
from matplotlib.pylab import *
File
On 09/21/2010 04:13 PM, Ryan May wrote:
On Tue, Sep 21, 2010 at 8:22 AM, A. S. Budden abud...@gmail.com wrote:
All,
Now that NumPy is available for python 3.1 and SciPy is well on its
way (apparently), are there any plans for matplotlib to be ported?
There are definitely plans; in
On 09/25/2010 12:02 AM, Fernando Perez wrote:
On Fri, Sep 24, 2010 at 2:54 PM, Ryan May rma...@gmail.com wrote:
The one called Py3k :)
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/py3k/
In case you want to have ipython while testing, there's already an
Hi,
I'm trying to compile numpy/scipy and matplotlib (I did it N times
without any problem).
Numpy and scipy are ok (.test() is fine).
However, from pylab import * fails with way:
/usr/local/lib/python2.6/dist-packages/pylab.py in module()
1
2
3 from matplotlib.pylab import
Yes that was the bug.
Please commit the fix.
Xavier
Revision 7985 contains a typo (see bug tracker). Try replace the string
PY_ARRAYAUNIQUE_SYMBOL with PY_ARRAY_UNIQUE_SYMBOL in setupext.py.
Christoph
--
Let
Nov 2009, at 21:34, Xavier Gnata wrote:
Hi,
RTFM...indeed it works.
However, the axis do not scale accordingly:
quiver([1],[1],[2],[2], angles='xy', scale_units='xy', scale=1) on a TkAgg
backend produce a plot with:
In [11]: axis()
Out[11]:
(0.94006,
1.0601
that helps :)
Regards,
-- Damon
--
Damon McDougall
Mathematics Institute
University of Warwick
Coventry
CV4 7AL
d.mcdoug...@warwick.ac.uk
On 22 Nov 2009, at 16:37, Xavier Gnata wrote:
Hi,
I woud like to draw a vector field using pylab.
quivert looks nice
],s[s=0],g)
ax.plot(t[s0],s[s0],r)
cheers
Thomas
Xavier Gnata-2 wrote:
Hi,
Imagine you have something like:
from pylab import *
t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
ax = subplot(111)
ax.plot(t, s)
That's fine but now I would like to plot the negative parts of the curve
Hi,
Imagine you have something like:
from pylab import *
t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
ax = subplot(111)
ax.plot(t, s)
That's fine but now I would like to plot the negative parts of the curve
in red and the positive one in green.
Is there a nice pylab oriented way to do that? Some
Hi,
I have already asked about that but I'm back once again :)
The way I use matplotlib may be a corner case:
I'm often looking at large (4k x 4k) images and I do want to see the
pixels values moving the mouse over the display.
imshow does a great job but all the backend only display x=
Hi,
I have already asked about that but I'm back once again :)
The way I use matplotlib may be a corner case:
I'm often looking at large (4k x 4k) images and I do want to see the
pixels values moving the mouse over the display.
imshow does a great job but all the backend only display x= y=.
I
Hi,
I'm trying to modify the imshow colormapping on the flight:
http://matplotlib.sourceforge.net/api/colors_api.html?highlight=linearsegmentedcolormap#matplotlib.colors.Normalize
Colormapping typically involves two steps: a data array is first mapped
onto the range 0-1 using an instance of
ok. My bad! Sorry.
I have changed the default to %1.4g so that is matches my usecases *but* I
agree that correct way to improve it in not that trivial...
You can control the point at which mpl falls over to scientific
notation. From the matplotlibrc file (see
Eric Firing wrote:
Xavier Gnata wrote:
ok. My bad! Sorry.
I have changed the default to %1.4g so that is matches my usecases
*but* I
agree that correct way to improve it in not that trivial...
You can control the point at which mpl falls over to scientific
notation. From
John Hunter wrote:
On Sat, May 30, 2009 at 6:46 PM, Eric Firing efir...@hawaii.edu wrote:
Possible, but I think there is a much better solution along the lines I
suggested earlier. I have it partly implemented. To really do it right
will require a little bit of work on all the
Eric Firing wrote:
Xavier Gnata wrote:
Right now, the default is very simple:
def format_data_short(self,value):
'return a short formatted string representation of a number'
return '%1.3g'%value
It looks like changing it to something like %-12g would facilitate
John Hunter wrote:
On Sat, May 30, 2009 at 11:52 AM, Eric Firing efir...@hawaii.edu wrote:
No, that applies to the axis ticks but not to the readout, and I think it is
the latter that Xavier is concerned with--at least that is what I have been
talking about, and want to improve.
for y).
But it would really be great to see your proposal as a standard.
Greetings,
David
Original-Nachricht Datum: Sun, 24 May 2009 19:15:18 +0200
Von: Xavier Gnata xavier.gn...@gmail.com An:
matplotlib-users@lists.sourceforge.net Betreff: [Matplotlib-users] x= / y
John Hunter wrote:
On Fri, May 29, 2009 at 10:50 AM, Xavier Gnata xavier.gn...@gmail.com wrote:
I had the same problem and fixed it by changing just two lines of code in
the axes.py (line 1812 and 1814). Just change the formatter in
'self.xaxis.major.formatter.set_scientific(sb
However, everyone would be happy if the default format would be
consistent :
As it is, *by default*, when 1000 it displays an int and after 1000
it displays 1.42e3.
Why? What do you think this scientific format is a good for?
I understand some users would like to see floats by
Hello all,
I routinely work with images sizes [1000,1000].
There is a slight annoying problem whatever the backend I use:
Pixels coordinates default format is wrong.
It does not make sense to display x=1.42e+03,y=1.92e+03.
Pixels coordinates should be formated *by default* as integers.
Would
Hi,
I'm trying to compile revision 7064 on a fresh kubuntu 9.04
I get this error:
g++ -pthread -shared -Wl,-O1
-Wl,-Bsymbolic-functionsbuild/temp.linux-x86_64-2.6/src/agg_py_transforms.o
build/temp.linux-x86_64-2.6/src/_gtkagg.obuild/temp.linux-x86_64-2.6/src/mplutils.o
Hello,
I have a demo application integrating a dynamic mpl plot into a PyQt GUI.
The plot is dynamic in the sense that the user can manipulate it through the
use of the GUI's (PyQt) widgets and controls. The code is in:
http://eli.thegreenplace.net/files/prog_code/qt_mpl_bars.py.txt
Now,
Christopher Brown wrote:
Hi Xavier,
XG I'm trying to write a pyqt4 application including pylab plotting
XG capabilities.
XG Up to now, it looks like this (see in attachment).
XG
XG The picker works fine (I get the msg) *but* I also would like to get
XG the (x,y) coordinates and the the
http://eli.thegreenplace.net/2009/01/20/matplotlib-with-pyqt-guis/
Once you have seen this example (+the picking), you are able do whatever
you want ;)
You have python, you have the best toolkit I konw (qt4 with qtdesigner)
and you have a very nice way to plot 2D data.
What else ;)
Xavier
I
Hi,
I'm trying to write a pyqt4 application including pylab plotting
capabilities.
Up to now, it looks like this (see in attachment).
The picker works fine (I get the msg) *but* I also would like to get the
(x,y) coordinates and the the corresponding value A[x,y].
Could someone tell me what I
John Hunter wrote:
On Mon, Dec 1, 2008 at 1:08 PM, Eric Emsellem
[EMAIL PROTECTED] wrote:
Hi
this may be a known problem (didn't find anything on this issue) but here it
is:
- when I start a session with ipython -pylab I often get crashes with my
session. When I mean often, it means
with
Sphinx and/or docutils.
Cheers,
Mike
Xavier Gnata wrote:
Looks great but there are too many errors:
http://validator.w3.org/check?uri=http%3A%2F%2Fmatplotlib.sourceforge.net%2Fcharset=(detect+automatically)doctype=Inlinegroup=0
I'm not a geek and I do not care about w3c small warnings
Looks great but there are too many errors:
http://validator.w3.org/check?uri=http%3A%2F%2Fmatplotlib.sourceforge.net%2Fcharset=(detect+automatically)doctype=Inlinegroup=0
I'm not a geek and I do not care about w3c small warnings but it would
be so nice to have a xhtml compliant website (as close
Hi,
I can do everything I want with pylab (and even more :) ).
I'm only missing one thing:
I really would like to have one more option in imshow to get the pixel
value of the pixel pointed by the cursor.
The backends are showing X qnd Y coordinates. It is fine but I need also
to look at the
Hi,
What is the best way to get the pixels values in addition to the pixel
numbers when moving the mouse on on imhow display?
It could be either on the fly (would be great) or on click.
best way here means that the code can be quite complex but that it
should be as simple as imshow from the
Hi,
Using gcc-4.3 I get this error :
tconv/truetype.h:50: error: ISO C++ forbids declaration of ‘FILE’ with
no type
#include stdio.h is missing.
Xavier
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Darren Dale wrote:
On Friday 16 November 2007 10:28:25 am Xavier Gnata wrote:
Hi,
Quoting matplotlib/__init__.py :
def checkdep_ghostscript():
try:
if sys.platform == 'win32':
command = 'gswin32c -v'
else:
command = 'gs -v'
stdin
:(
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED
Eric Firing wrote:
Xavier Gnata wrote:
Hi all,
I looking for a way to modify the colorbar ticks font size.
a=rand(100,100)
imshow(a)
colorbar()
and then??
For instance, xticks(fontsize=20) works well to modify the ticks
fontsize along the X-axis but colorbar(fontsize=20) does
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED
.
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED
Darren Dale wrote:
On Sunday 12 August 2007 07:05:38 pm Xavier Gnata wrote:
OK my matplotlibrc was out of date. Now it works but I have found
another but playing with the sliders of the backend:
As the log is quite long, here are only the most relevant parts :
[...]
It looks
Darren Dale wrote:
On Tuesday 14 August 2007 09:14:54 am Xavier Gnata wrote:
Darren Dale wrote:
On Sunday 12 August 2007 07:05:38 pm Xavier Gnata wrote:
OK my matplotlibrc was out of date. Now it works but I have found
another but playing with the sliders of the backend
Darren Dale wrote:
On Saturday 11 August 2007 8:15:41 am Xavier Gnata wrote:
Hi,
Using pylab svn, the qt backend is broken.
import pylab fails :
/usr/lib/python2.4/site-packages/matplotlib/backends/backend_qtagg.py
11
12 from backend_agg import FigureCanvasAgg
--- 13 from
?
What could I do to help to debug that?
Xavier
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED
with.
As an aside, if you're looking to Gtk as a way around this, the Gtk
backend uses the same rendering pipeline for text when text.usetex is
True, so it likely will produce the same result.
Cheers,
Mie
Michael Droettboom wrote:
Xavier Gnata wrote:
With a = ué I get no error
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED
is that only the tk backend is fully functionnal on my box.
HTe gtk one never shows the buttons (debian up to date sid).
Xavier
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78
Jouni K. Seppänen wrote:
Xavier Gnata [EMAIL PROTECTED]
writes:
I'm a french user and I'm trying to put an 'é' into a pylab title.
Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works.
But is always fails using matplotlib.rc('text',usetex=True
of these encoding bugs in various backends that
should probably be worked through.
Cheers,
Mike
With a = ué I get no error but also nothing as a title. No strange
characters. Nothing.
Xavier
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue
to fix that but if someone wants me to
test something to help to fix this problem...
Xavier
ps : I'm using interactive True and ipython on an up to date debian sid.
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis
is automagically added by the build script in
a way I fail to understand reading quickly the sources.
Anyway, there should be a simple solution to avoid this warning (gcc
version 4.1.3)...
Any comments?
Xavier
--
Xavier Gnata
CRAL - Observatoire de
the distutils facilities to build the extension code.
Unfortunately, it is not possible to add or remove compiler flags,
distutils uses the same flags as Python when it was built. So this
should probably be sent to the Python users ML.
Matthieu
2007/7/23, Xavier Gnata [EMAIL PROTECTED
. So this
should probably be sent to the Python users ML.
Matthieu
2007/7/23, Xavier Gnata [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
Hi,
It would be great to be able to compile matplotlib without a
warning :)
Unfortunately, I was not able to fix this warning
.
Unfortunately, it is not possible to add or remove compiler flags,
distutils uses the same flags as Python when it was built. So this
should probably be sent to the Python users ML.
Matthieu
2007/7/23, Xavier Gnata [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:
Hi,
It would be great
20070514 (prerelease) (Debian 4.1.2-7)
Any comments?
Xavier
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED
.
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED
the new one?
Thanks for your work on matplotlib,
Xavier.
--
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: [EMAIL PROTECTED
please apply this path?
Xavier.
Xavier == Xavier Gnata [EMAIL PROTECTED] writes:
Xavier Hi, Matplotlib svn tree does not compile anymore since a
Xavier few days :
Have you upgraded your compiler recently? It compiles fine for me
with an older version
gcc --version
65 matches
Mail list logo