[EMAIL PROTECTED] wrote:
> Le lundi 16 octobre 2006 15:55, Eric Firing a écrit :
>> [EMAIL PROTECTED] wrote:
>>> I thing there are a small problem with contour.
>>>
>>> import pyfits
>>> import pylab
>>> data = pyfits.getdata('test.fits')
>>> pylab.imshow(data,cmap=cm.gray)
>>> pylab.contour(data)
Le lundi 16 octobre 2006 15:55, Eric Firing a écrit :
> [EMAIL PROTECTED] wrote:
> > I thing there are a small problem with contour.
> >
> > import pyfits
> > import pylab
> > data = pyfits.getdata('test.fits')
> > pylab.imshow(data,cmap=cm.gray)
> > pylab.contour(data)
> > #to have the result want
What you see is a design limitation rather than a bug or feature. One
easy workaround is to use the shrink kwarg. See
examples/contour_demo.py. Another approach is to create the axes object
you want for the colorbar manually, as in examples/multi_image.py and
examples/subplots_adjust.py.
Er
[EMAIL PROTECTED] wrote:
> I thing there are a small problem with contour.
>
> import pyfits
> import pylab
> data = pyfits.getdata('test.fits')
> pylab.imshow(data,cmap=cm.gray)
> pylab.contour(data)
> #to have the result wanted:
> pylab.contour(data,origin='upper')
> pylab.show()
>
> not sure
Hi, I figured out that I could get matplotlib 0.87.6 for python 2.4 and have downloaded this and installed it. It seems to work, except when I try to do thisActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based onPython 2.4.3 (#1, Apr 3 2006, 18:07:18) [GCC 3.3 20030304 (Apple Computer,
Hi, I am currently running ActivePython 2.4.3 b11, with numpy 1.12881 and matplotlib 0.87.4. Running a code developed before I upgraded using theScipy Superpack for Mac (PowerPc) available at http://www.scipy.org/DownloadI get this error:[EMAIL PROTECTED] Spitzer/Objects -> redspit -i Albiorix1
HelloAfter compiling and installing matplotlib-0.87.6, when I entered,from pylab import *it returned the following errors.Traceback (most recent call last): File "", line 1, in ?
File "/home/morovia/bin/lib/python2.4/site-packages/pylab.py", line 1, in ? from matplotlib.pylab import * File"/
i need a tutorial on plotting countour linesgave me a url
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW-
Using Tomca
> Any change you could share back with the community the approach
> you followed - web framework used? integration strategy? deploy-
> ment and setup issues? graph creation methodology?
web framework used: cherrypy
deploymnet os: ubuntu
setup issues: none
> I am looking to tackle a project wi
HiIf you are on ubuntu you may check out Andrew Straw's repository:http://debs.astraw.comArnar On 10/4/06,
[EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Hi,
I am trying to compile matplotlib in order to use numpy as the numerixoption. I can apt-get a version of it which works, but it does not see
Hi,
I have some problem with this kind of script:
#!/usr/bin/env python
import numpy
import numpy.random
import pylab
a = numpy.random.rand(10,10)
pylab.matshow(a)
pylab.colorbar()
pylab.figure(figsize=(4.8,8),dpi=100)
pylab.imshow(a,aspect='equal',interpolation='nearest')
pylab.colorbar()
pyl
> "Xavier" == Xavier Gnata <[EMAIL PROTECTED]> writes:
Xavier> Hum it looks like a real bug in ./CXX/Objects.hxx Line
Xavier> 1938 should be ~mapref() and not ~mapref() It used to
Xavier> compile bug it is not true any more using gcc version
Xavier> 4.1.2 20061007 (prerelease)
> "Stefan" == Stefan van der Walt <[EMAIL PROTECTED]> writes:
Stefan> The size of the image being plotted is (72, 2048), so that
Stefan> behaviour sounds correct. The plot I see is shown here:
Stefan> http://mentat.za.net/results/morlet.png
As Stefan notes, this is a feature not
Hum it looks like a real bug in ./CXX/Objects.hxx
Line 1938 should be ~mapref() and not ~mapref()
It used to compile bug it is not true any more using gcc version 4.1.2
20061007 (prerelease) (Debian 4.1.1-16)
According to C++ iso standard, ~mapref() seems to be wrong code so
could you please
14 matches
Mail list logo