Hi all,
I tried to read a jpg file.
How can fix the following problem ?
File test.py, line 15, in module
im = imshow(lena, origin='lower')
File
/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/pyplot.py,
line 1915, in imshow
ret = gca().imshow(*args, **kwargs)
hi,
I have successfully written my first test program in matlab, it works
perfectly except the display is not quite right, to the left and write
of the plotted data there are blank areas with nothing on, how can i get
rid of these a link to the image is attached, and the code is below.
hope
Thanks for your answer Gregor,
I'm using TkAgg backend, I hope is also that simple there!
Gregor Thalhammer-2 wrote:
This depends on the backend/GUI toolkit you use. If you use wx, a simple
approach might be the following:
--
from pylab import *
import wx
def
sordnay schrieb:
Hi
I would like to insert a new button on the standard figure toolbar,
is there an easy way? maybe someone can post an example
This depends on the backend/GUI toolkit you use. If you use wx, a simple
approach might be the following:
--
from pylab import *
On Thu, 06 Nov 2008 13:28:21 +0100
Gregor Thalhammer [EMAIL PROTECTED] wrote:
Nils Wagner schrieb:
Hi all,
I tried to read a jpg file.
How can fix the following problem ?
Which operating system are you using?
The problem arise in the PIL (Python Imaging Library).
It cannot find the
Nils Wagner schrieb:
Hi all,
I tried to read a jpg file.
How can fix the following problem ?
Which operating system are you using?
The problem arise in the PIL (Python Imaging Library). It cannot find
the libjpeg library (you have it installed on your system?). Try to
install libjpeg
oliver marks wrote:
hi,
I have successfully written my first test program in matlab, it works
perfectly except the display is not quite right, to the left and write
of the plotted data there are blank areas with nothing on, how can i get
rid of these a link to the image is attached, and the
Hi all,
Is it possible to combine jpegs with matplotlib or PIL ?
Any pointer would be appreciated.
Nils
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based
Hi everybody,
I have a problem with my application using Tkinter.
To simplify, here follows a small program showing the encountered problem:
from pylab import *
a = arange( 10 )
plot( 0.5*a, cos(a) )
gca().set_autoscale_on(False)
plot( a, cos(a), 'r' )
Why are you turning autoscaling off and on? When you turn it off, the
autoscale mechanism effectively ignores any plots until you turn it
back on. If you remove
gca().set_autoscale_on(False)
all seems to work fine.
Is your question that you want to autoscale to a plot after creating it?
Thanks Stan.
I read the docs (which are quite nice), but couldn't find a way to set the
ticks after the fact.
But your method worked,
Mark
On Wed, Nov 5, 2008 at 4:00 PM, Stan West [EMAIL PROTECTED] wrote:
*From:* Mark Bakker [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, November 05, 2008
From: Mark Bakker [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 10:48
Thanks Stan.
I read the docs (which are quite nice), but couldn't find a way to set the
ticks after the fact.
But your method worked,
Mark
It seems to me that setting the ticks after the fact is more
Nils Wagner wrote:
I tried to read a jpg file.
How can fix the following problem ?
Centos4.6 (Linux)
libjpeg.rpm is installed.
How do did you build/install PIL? It may not have found libjpeg when it
was built, in which case it wouldn't support jpegs.
Is it possible to combine jpegs with
On Thu, Nov 6, 2008 at 9:00 AM, Nils Wagner
[EMAIL PROTECTED] wrote:
Hi all,
Is it possible to combine jpegs with matplotlib or PIL ?
Any pointer would be appreciated.
if you have PIL installed, you can load them into mpl with imread, and
then set the alpha channel to make one partially
I recently tried to install for python 2.6 and got an error that the dll is
incompatible. Is there a version for 2.6? I didn't see one here:
http://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194release_id=608758
Kurt
There hasn't been a release of matplotlib since Python 2.6 was released,
and in general, Python packages only work with a specific version of Python.
You can build yourself from SVN (which has some minor fixes for
Python-2.6 compatibility), or wait until the next binary release. I
haven't
On Thu, Nov 6, 2008 at 11:28 AM, KURT PETERS [EMAIL PROTECTED] wrote:
I recently tried to install for python 2.6 and got an error that the dll is
incompatible. Is there a version for 2.6? I didn't see one here:
No, we haven't released any binaries for 2.6. It is probably getting
to be time
John Hunter wrote:
On Thu, Nov 6, 2008 at 11:28 AM, KURT PETERS [EMAIL PROTECTED] wrote:
I recently tried to install for python 2.6 and got an error that the dll is
incompatible. Is there a version for 2.6? I didn't see one here:
No, we haven't released any binaries for 2.6. It
Hey all,
I've come across quite a problem while using pylab in a recent project.
It seems that the second time I call axvspan or axvline, the view limits
are reset (seemingly arbitrarily). I have attached a code sample
(derived from my project) to demonstrate this issue. The code sample
opens a
Hello,
I have a problem I tried to solve in any way,a nd couldn't.
I want to plot an Edgeworth Box with matplotlib.
To do so, I need to create a plot with origin on the north-east corner with
axes scales going the wrong way. For an idea of how an EB works, see:
Hello,
I have a problem I tried to solve in any way,a nd couldn't.
I want to plot an Edgeworth Box with matplotlib.
To do so, I need to create a plot with origin on the north-east corner with
axes scales going the wrong way. For an idea of how an EB works, see:
21 matches
Mail list logo