On Wed, Dec 15, 2010 at 08:02:42PM -0600, Benjamin Root wrote:
> Assuming you are doing a pcolor on some 2-D numpy array called 'z':
>
> ax.set_xlim(xmax=z.shape[1])
> ax.set_ylim(ymax=z.shape[0])
Thanks. I also found (after a bit of digging) that I could just use:
axis ('off')
Cheers, Ben
Skip Montanaro, on 2010-12-15 12:49, wrote:
> > Skip,You can call figlegend() and build a legend for the figure,
> > irrespectively of any axes.
>
> Thanks. Sounds like exactly what I need.
Hi Skip,
I just wanted to chime in and give you a concrete example of how
you can get all of the line ins
I figured it out, I think. I read the docs (
http://matplotlib.sourceforge.net/api/figure_api.html#matplotlib.figure.Figure.add_axes)
on add_axes and found the part about adding a label to a new axes to force
matplotlib to add a new axes.
So I changed this line from:
subplot = self.figure.add_sub
I am using matplotlib in wxpython to dynamically add subplots to a figure
and I am using the geometry_change() method to manage how they are shown.
Basically I want all subplot to share the space evenly in one column. With
the simple test code I have pasted in below I have run into some weird
behav
On Wed, Dec 15, 2010 at 4:08 PM, Ben Elliston wrote:
> I am trying to plot an 840 x 680 element matrix using pcolor.
> matplotlib has decided that the xrange should be 900 and the yrange
> 700. Is there a way to tell matplotlib to always use x/yranges that
> always match the dimensions of the ma
I am trying to plot an 840 x 680 element matrix using pcolor.
matplotlib has decided that the xrange should be 900 and the yrange
700. Is there a way to tell matplotlib to always use x/yranges that
always match the dimensions of the matrix?
Thanks, Ben
---
On Mon, Dec 13, 2010 at 9:10 PM, Xunchen Liu wrote:
> Hello,
>
> I'm plotting some experimental data and found my x axis variable are
> displayed like 1, 2, 3, +1000. It seems depend on how you set a stopper or
> something.
> I'm wondering how to make it display just 1001, 1002, 1003?
>
> thanks!
On Wed, Dec 15, 2010 at 9:46 AM, Benoist Laurent wrote:
> Hi all,
>
> I'm still a bit stuck with this probleme of polar annotation.
> Let me present the problem in a different way.
>
> I've got the center of my circle, its radius and even some points on the
> circle.
> Actually, I'd like to annot
On Wed, Dec 15, 2010 at 6:25 AM, Teng Liu wrote:
> Linux 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686
> GNU/Linux
> matplotlib 0.99.1.1
> The script below is copied from
> http://matplotlib.sourceforge.net/examples/pylab_examples/hatch_demo.html
> It works. But it can not be
I added a feature request. It would be awesome to just have an extra tag
whether to include invisible artists.
On Wed, Dec 15, 2010 at 10:36 PM, Benjamin Root wrote:
> On Wed, Dec 15, 2010 at 8:13 AM, Åke Kullenberg
> wrote:
>
>> I am using matplotlib in a wxpython application where series are
On Tue, Dec 14, 2010 at 2:29 PM, vt603800 wrote:
> I tried to upgrade to version 1.0 but without success. Could anybody tell
> where it went wrong?
> I downloaded the package matplotlib-1.0.0.tar.gz from
> http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/
>
> First I tri
On Wed, Dec 15, 2010 at 8:13 AM, Åke Kullenberg wrote:
> I am using matplotlib in a wxpython application where series are added
> dynamically to subplots in a figure. I added the very handy option to toggle
> series' visibility (by calling set_visible(False). The catch is however that
> the invisi
I am using matplotlib in a wxpython application where series are added
dynamically to subplots in a figure. I added the very handy option to toggle
series' visibility (by calling set_visible(False). The catch is however that
the invisible series are included in the rescaling of the artists (Line2D
> Skip,You can call figlegend() and build a legend for the figure,
> irrespectively of any axes.
Thanks. Sounds like exactly what I need.
Skip
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to conne
Linux 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686
GNU/Linux
matplotlib 0.99.1.1
The script below is copied from
http://matplotlib.sourceforge.net/examples/pylab_examples/hatch_demo.html
It works. But it can not be saved as an eps file.
I have a lot of histogram plots using "h
15 matches
Mail list logo