Re: [Matplotlib-users] Large figure sizes get squashed or clipped?

2009-11-25 Thread Michael Droettboom
There may be a limitation on window sizes in the various GUI backends. Have you tried using the non-GUI backend (agg), and now showing it, but just using savefig? Mike doct...@users.sourceforge.net wrote: I'm trying to make a 10 inch wide by 30 inch high, 72 dpi figure and display it

[Matplotlib-users] python crashes on from matplotlib import pyplot

2009-11-25 Thread W. Gary Williams
Windows XP Windows NT 5.1 Build 2600 matplotlib version 0.99.1 python version 2.6.4 Code that will crash python on my machine: from matplotlib import pyplot as plt Error signature AppName: python.exe AppVer 0.0.0.0 aModName: _path.pyd ModVer: 0.0.0.0 Offset a09b Error report

[Matplotlib-users] Line chart - want to show value of last data point

2009-11-25 Thread thumperj
I'm certain this is in an example somewhere but I can't seem to find it. If someone can just point me to the example I'll take it from there. Thank you! I have a line chart. I just want to add text or callout box that shows the last value in the line. Thank you very much, Chris -- View this

[Matplotlib-users] _backend_gdk not found

2009-11-25 Thread federico roncarolo
Hi, I'm new with matplotlib and I'm trying to embed matplotlib objects into pygtk. I tried different backend imports (GTKAgg, GTK, GTKCairo) and always get the same error (attached below) referring to the missing _backend_gdk package. I work with MAC os x 10.6, python 2.6, pygtk2,

[Matplotlib-users] Color in 3d plots

2009-11-25 Thread Mike Alger
This may be a dumb question, however i have been scratching my head trying to figure out how to plot a 3 dimensional plot with with a colour map different from the elevation(Z) parameter. An example of this done in Matlab would be [X,Y,Z] = peaks(30); C=Z'% could be anything other than

[Matplotlib-users] matplotlib for py 2.3

2009-11-25 Thread Olof Werneman
Hello! I am forced to use py version 2.3.3 (included in other software). I would like to use matplotlib but can not find the version for py 2.3 on sourceforge. I think it should be version 0.90.1? Do you know how I can get hold of a copy of that version? Thanks! Best Ŕegards, Olof Werneman

Re: [Matplotlib-users] Line chart - want to show value of last data point

2009-11-25 Thread John Hunter
On Tue, Nov 24, 2009 at 5:38 PM, thumperj mrthumperwab...@gmail.com wrote: I'm certain this is in an example somewhere but I can't seem to find it.  If someone can just point me to the example I'll take it from there.  Thank you! I have a line chart.  I just want to add text or callout box

Re: [Matplotlib-users] matplotlib for py 2.3

2009-11-25 Thread John Hunter
On Mon, Nov 23, 2009 at 3:09 PM, Olof Werneman olof.werne...@gmail.com wrote: Hello! I am forced to use py version 2.3.3 (included in other software). I would like to use matplotlib but can not find the version for py 2.3 on sourceforge. I think it should be version 0.90.1? Do you know how I

Re: [Matplotlib-users] _backend_gdk not found

2009-11-25 Thread John Hunter
On Wed, Nov 25, 2009 at 8:01 AM, federico roncarolo federico.roncar...@cern.ch wrote: Hi, I'm new with matplotlib and I'm trying to embed matplotlib objects into pygtk. I tried different backend imports (GTKAgg, GTK, GTKCairo) and always get the same error (attached below) referring to the

[Matplotlib-users] Compiling on Solaris

2009-11-25 Thread David Trethewey
I am trying to compile matplotlib on Solaris, I have run into problems as below compiling the ft2fonts extension. Anyone know why? David python setup.py build BUILDING MATPLOTLIB matplotlib: 0.99.1.1

Re: [Matplotlib-users] Compiling on Solaris

2009-11-25 Thread Michael Droettboom
What is /usr/lib/python2.4/pycc? Some sort of wrapper around the compiler? I don't have it on my Sun machine. I would start by looking at that to see what it's doing. It may not be passing the source file along to the compiler. Mike David Trethewey wrote: I am trying to compile

Re: [Matplotlib-users] Compiling on Solaris

2009-11-25 Thread David Trethewey
Looking at it, it describes itself as a script for running the C/C++ compiler when building python modules. David Michael Droettboom wrote: What is /usr/lib/python2.4/pycc? Some sort of wrapper around the compiler? I don't have it on my Sun machine. I would start by looking at that to

Re: [Matplotlib-users] Compiling on Solaris

2009-11-25 Thread Michael Droettboom
Where is it from? Can you send it as an attachment? Googling doesn't reveal anything. Mike David Trethewey wrote: Looking at it, it describes itself as a script for running the C/C++ compiler when building python modules. David Michael Droettboom wrote: What is

Re: [Matplotlib-users] Compiling on Solaris

2009-11-25 Thread Michael Droettboom
FWIW: It comes from a set of OpenSolaris patches to Python here: http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/Python-02-pycc.diff http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/Python-03-distutils-pycc.diff Mike Michael Droettboom wrote: Where is it

Re: [Matplotlib-users] encoding of files included in sphinx

2009-11-25 Thread Sébastien Barthélemy
Hi, just wanted to raise this problem on the devel list, where it probably belongs. Also, if nobody has time to look at it now and you prefer me to file a bug, please don't hesitate to tell it. the original post is there: http://thread.gmane.org/gmane.comp.python.matplotlib.general/20411 Cheers

[Matplotlib-users] _path.so: undefined symbol: PyArray_API

2009-11-25 Thread Xavier Gnata
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

Re: [Matplotlib-users] _path.so: undefined symbol: PyArray_API

2009-11-25 Thread Christoph Gohlke
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 Crystal Reports handle the reporting - Free Crystal Reports

Re: [Matplotlib-users] _path.so: undefined symbol: PyArray_API

2009-11-25 Thread Xavier Gnata
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

Re: [Matplotlib-users] Large figure sizes get squashed or clipped?

2009-11-25 Thread doctorj
Yes, I should have mentioned that; saving an image works fine. But then if I want to display it 1:1 with figimage() or such, I can't. :( Silly GUIs, not wanting to display a window larger than my screen On Wed, Nov 25, 2009 at 9:43 AM, Michael Droettboom md...@stsci.edu wrote: There may

Re: [Matplotlib-users] Color in 3d plots

2009-11-25 Thread Mike Alger
I have been looking at this for the past day and in am pretty sure I could replace the instance of polyc by the cmap if statements my colour array and I should be able to get close to what I want. However I am new to both python mpl, and I am not entirely sure in how I would go about testing my