On Tue, Sep 22, 2009 at 3:45 PM, Michael Hearne wrote:
> Great!
You may also want to take a look at the brand-spanking-new image
tutorial, which covers this
http://matplotlib.sourceforge.net/users/image_tutorial.html
JDH
-
Great!
Thanks,
Mike
On Sep 22, 2009, at 2:38 PM, Gary Ruben wrote:
> Yes. Use interpolation='nearest' instead.
>
> Gary R.
>
> Michael Hearne wrote:
>> Running the test script below gives me the image I have attached,
>> which looks like it has been smoothed.
>> Does imshow perform some sort o
Yes. Use interpolation='nearest' instead.
Gary R.
Michael Hearne wrote:
> Running the test script below gives me the image I have attached, which
> looks like it has been smoothed.
>
> Does imshow perform some sort of smoothing on the data it displays? If
> so, is there a way to turn this off
On Tue, Sep 22, 2009 at 1:53 PM, Pierre GM wrote:
>
> On Sep 19, 2009, at 12:55 PM, Pierre GM wrote:
>
>> All,
>> I'm trying to use the Cocoa backend on Snow Leopard, using r7791
>> (GCC 4.2.1 / Python 2.6.1 from Apple, 64b)
>> Unfortunately, a simple `plot(range(10),range(10))` gives me an
>> emp
On Tue, Sep 22, 2009 at 2:53 PM, Pierre GM wrote:
>
> On Sep 19, 2009, at 12:55 PM, Pierre GM wrote:
>
>> All,
>> I'm trying to use the Cocoa backend on Snow Leopard, using r7791
>> (GCC 4.2.1 / Python 2.6.1 from Apple, 64b)
>> Unfortunately, a simple `plot(range(10),range(10))` gives me an
>> emp
On Sep 19, 2009, at 12:55 PM, Pierre GM wrote:
> All,
> I'm trying to use the Cocoa backend on Snow Leopard, using r7791
> (GCC 4.2.1 / Python 2.6.1 from Apple, 64b)
> Unfortunately, a simple `plot(range(10),range(10))` gives me an
> empty window and error message as such:
>
> Python[53010:d0
John [H2O] wrote:
> Hello,
>
> I'm trying to plot text objects with the color used in m.scatter. My goal is
> to individually label each scatter object. I've tried the following:
>
> circles=m.scatter(cx,cy,zsize,zlevel,cmap=cmap)
>
> and then:
> CC = circles.get_facecolor()
> i=0
> for x,y in m
John,
The following code works for me (Python 2.5.4, Matplotlib 0.99):
# create and format the colorbar
cbar = pl.colorbar(G, ticks=range(g1,g2+1))
cbar.ax.set_ylabel('Gradient (%)', fontsize=10)
cl = pl.getp(cbar.ax, 'ymajorticklabels')
pl.setp(cl, fontsize=10)
-Paul M. Hobson
Hello,
I'm trying to plot text objects with the color used in m.scatter. My goal is
to individually label each scatter object. I've tried the following:
circles=m.scatter(cx,cy,zsize,zlevel,cmap=cmap)
and then:
CC = circles.get_facecolor()
i=0
for x,y in map(cx,cy):
ax.text(x,y,'some text',
On Tue, Sep 22, 2009 at 10:25 AM, Alan wrote:
> Hi there,
>
> I want to move to numpy only. What would be the replacement for:
>
> from matplotlib.numerix.mlab import amax
>
> ?
>
numpy.amax
You should be able to do that for most of numerix I believe (I and would
definitely try that first).
Ry
Hi there,
I want to move to numpy only. What would be the replacement for:
from matplotlib.numerix.mlab import amax
?
Many thanks in advance,
Alan
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
Could someone please explain how to change the font properties for a colorbar
tick label, the following causes no error, but it does NOT work:
## CREATE COLORBAR
## make a copy of the image object
im2 = copy.copy(im)
im2.set_cmap(colmap)
## create new axis for colorbar.
c
On Tue, Sep 22, 2009 at 9:22 AM, Alan wrote:
> Hi there,
>
> In mtpl __version__ = '0.98.5.3' "from matplotlib._cm import LUTSIZE"
> still works, but in matplotlib.__version__ = '0.99.0' no:
>
> from matplotlib._cm import LUTSIZE
> ImportError: cannot import name LUTSIZE
>
> How can I replace/so
Hi there,
In mtpl __version__ = '0.98.5.3' "from matplotlib._cm import LUTSIZE"
still works, but in matplotlib.__version__ = '0.99.0' no:
from matplotlib._cm import LUTSIZE
ImportError: cannot import name LUTSIZE
How can I replace/solve this issue?
Many thanks in advance.
Alan
--
The 0.99.1 release is available for download from sourceforge
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/
This is a bug-fix release with an emphasis on stability. Lots of bugs
have been fixed since 0.99.0 so thanks to all who contributed bug
reports, patches
Mark Bakker writes:
> I recently started using Eclipse with Pydev. I like it a lot but have not
> been able to get interactive plotting going (which otherwise works
> fine).
Does Pydev have any sort of specific support for matplotlib? I'm asking
because even in the normal Python shell interactiv
Hello list,
I recently started using Eclipse with Pydev. I like it a lot but have not
been able to get interactive plotting going (which otherwise works fine).
My file is simple:
from pylab import *
ion()
plot([1,2,3])
When I run this form within Eclipse, I do see a graphing window open up bu
17 matches
Mail list logo