Hello Mark,
On Tue, Jun 1, 2010 at 08:17, Mark Boorer wrote:
> And I have no idea why :(
> I'm fairly new to HTML, and I can't seem to see any meaningful errors in
> Firebug. Anyone have any experience with an error like this?
This is not HTML, it's a CGi, so a script executed server-side; to
kn
Hi,
I'm having a problem when importing pylab in a python CGI script to generate
some dynamic graphs for a web page.
As soon as I import pylab, my script will fail, and I have no idea why.
As an example, i can have 1x1 black png file, loaded from a script like
thus:
#!/usr/bin/env python
# blac
On 31 May 2010 23:17, Angus McMorland wrote:
> On 31 May 2010 19:49, rugspin wrote:
>
>>
>> I have a small problem how to convert an image from matplotlib to PIL
>>
>> right now doing somthing like this:
>> --
>> from scipy import *
>> from pylab import *
On 31 May 2010 19:49, rugspin wrote:
>
> I have a small problem how to convert an image from matplotlib to PIL
>
> right now doing somthing like this:
> --
> from scipy import *
> from pylab import *
> from PIL import Image
>
> a = arange(16384).reshape(128
On 5/31/2010 7:45 PM, John Hunter wrote:
> On Mon, May 31, 2010 at 7:56 PM, Christoph Gohlke wrote:
>
>> John: I rebuilt the 32 bit binaries for Python 2.5 and 2.6 against numpy
>> 1.3.0. They do also work with numpy 1.4.1. Please consider uploading these
>> binaries to the SF site. I also notic
On Mon, May 31, 2010 at 7:56 PM, Christoph Gohlke wrote:
> John: I rebuilt the 32 bit binaries for Python 2.5 and 2.6 against numpy
> 1.3.0. They do also work with numpy 1.4.1. Please consider uploading these
> binaries to the SF site. I also noticced that the eggs on the SF download
> site are c
I have a small problem how to convert an image from matplotlib to PIL
right now doing somthing like this:
--
from scipy import *
from pylab import *
from PIL import Image
a = arange(16384).reshape(128,128)
imsave( "test.png", a, cmap=cm.summer,vmin=0,vmax=
On Mon, May 31, 2010 at 7:51 PM, Oz Nahum wrote:
> Hi Thanks for the answer,
>
> actually, I always use
> show and plot, I have no clue how to use the functions you suggested ...
>
> I'll look into it.
>
> Do you have an idea where I can find a description of the keyword "format"
>
> '%.3f' is ni
Yeah, I don't think that is what you want. I believe the 'ax' you are
referencing there is the figure axes. How do you want the numbers to
appear?
Ben Root
On Mon, May 31, 2010 at 8:27 PM, Oz Nahum wrote:
> Hi,
>
> I open another thread because I think this is not related.
>
> I have figured
Hi,
I open another thread because I think this is not related.
I have figured out how to create scientific notation in the color bar.
However, by default Python creates really ugly values for printing:
1.165E+00, 1.167E+00... etc.
I figure that they are stored somewhere in a list.
I could do :
On Mon, May 31, 2010 at 6:01 PM, Oz Nahum wrote:
> I now get something really ugly
>
> the labels are 1.164E+00
>
> would be great to remove the + sign, if I can only do 1.164E0
>
> it's the best
>
>
> On Mon, May 31, 2010 at 5:55 PM, Andre Walker-Loud wrote:
>
>> Hi Thanks for the answer,
>
Hi Oz,
Sorry, I am not familiar with what you are trying to do with your
plots. Everything I have learned is from trial and error, the gallery
page
http://matplotlib.sourceforge.net/gallery.html
and the user manual
http://matplotlib.sourceforge.net/contents.html
Good luck,
Andre
hi andre,
thanks for your reply,
do you know where I can find more documentation about this ?
Thanks,
On Mon, May 31, 2010 at 5:55 PM, Andre Walker-Loud wrote:
> Hi Thanks for the answer,
>
> actually, I always use
> show and plot, I have no clue how to use the functions you suggested ...
>
>
On 5/31/2010 4:53 PM, Craig McQueen wrote:
> Christoph Gohlke wrote:
>>
>> On 5/31/2010 1:53 AM, Craig McQueen wrote:
>>> I just installed matplotlib-0.99.3.win32-py2.6.exe on this Win2000 PC.
>>> When I try:
>>> from matplotlib import pyplot as plt
>>>
>>> it crashes Python with an apparent NULL
Hi Thanks for the answer,
actually, I always use
show and plot, I have no clue how to use the functions you
suggested ...
I'll look into it.
Do you have an idea where I can find a description of the keyword
"format"
'%.3f' is nice, but still not scientific format...
you can use
'%.3e'
Hi Thanks for the answer,
actually, I always use
show and plot, I have no clue how to use the functions you suggested ...
I'll look into it.
Do you have an idea where I can find a description of the keyword "format"
'%.3f' is nice, but still not scientific format...
is this like Fortran?
On M
Oz,
Some plotting functions like pcolor and imshow have keyword args for
vmin/vmax where you can explicitly set the min and maximum values for the
colorscale. There are some more complicated things you can do with the
colormap that are more generic to all plotting functions as well, but I
would s
found a solution after 2 hours ...
colorbar(ax=ax1, orientation='horizontal',format='%.3f')
now, I need to know how to set up limits for all the images which are
exactly the same limits.
So far I'm failing with the use of "boundaries"
Would be happy to know
--
Oz Nahum
Graduate Student
Hi,
I wanted to be more clear:
the numbers on my figure's color bar range from 0 to 1.7,
but mpl writes the following numbers:
0., 0.000250,0.50,0.000750,
etc.
This is totally not somthing I can use, it looks horrible.
I'm also attaching the image ...
--
Oz Nahum
Graduate Student
Ze
Christoph Gohlke wrote:
>
> On 5/31/2010 1:53 AM, Craig McQueen wrote:
>> I just installed matplotlib-0.99.3.win32-py2.6.exe on this Win2000 PC.
>> When I try:
>> from matplotlib import pyplot as plt
>>
>> it crashes Python with an apparent NULL-pointer reference. If I run
>> python -v
Hi Guys,
I'm breaking my head how to use scientific numbering on color bar:
I use the following code to plot data from multiple files, would be great if
someone could direct me, becuase the numbers I have are 0.0013 et. and what
ever I do, the number just go over each other:
for i in xrange(len
On 5/31/2010 1:53 AM, Craig McQueen wrote:
> I just installed matplotlib-0.99.3.win32-py2.6.exe on this Win2000 PC.
> When I try:
> from matplotlib import pyplot as plt
>
> it crashes Python with an apparent NULL-pointer reference. If I run
> python -v
>
> then it crashes just after:
I just installed matplotlib-0.99.3.win32-py2.6.exe on this Win2000 PC.
When I try:
from matplotlib import pyplot as plt
it crashes Python with an apparent NULL-pointer reference. If I run
python -v
then it crashes just after:
# c:\python26\lib\site-packages\matplotlib\transforms.pyc match
23 matches
Mail list logo