[Matplotlib-users] help visualizing plots

2009-02-16 Thread Simone Gabbriellini
dear list, can someone tell me why I don't see anything when I run this script? it is a modified version of the traits example... I expected to see three plots with one line each... from enthought.traits.api import HasTraits, Instance, Range, Array, on_trait_change, Property,cached_property, Bool

[Matplotlib-users] Venn diagrams

2009-02-16 Thread Ian Harry
Hi all, Is there any simple way in matplotlib, or in any other python library, to make a simple Venn diagram, I want to show three events and their intersections? I have tried googling for any hints but didn't find anything. Thanks for any help! Ian -- -

[Matplotlib-users] imshow extent & toolbar zoom??

2009-02-16 Thread Lewis, Ambrose J.
Hi All: Thanks to Michael & Ryan, I got my imshow call displaying the correct data range on the x axis! However, when I now use a toolbar to zoom the image, I'm getting a divide by zero error (see traceback below) I'm using Python 2.5.2, wx 2.8.7.1, and Matplotlib 0.98.5.2 on win32. Thanks fo

Re: [Matplotlib-users] how to make scatter plot and bar graphs in same figure?

2009-02-16 Thread Manuel Metz
Attached is a very simple example that shows how to do something similar to scatterhist in matplotlib Manuel per freem wrote: > hello, > > is there a way to make a 2d scatter plot that includes (outside the axes) > histograms of the marginals of the two variables? like the matlab function > 'sca

[Matplotlib-users] updating colorbar to match new image data...

2009-02-16 Thread Lewis, Ambrose J.
Hi All: I'm using the following code to create and display an image with a colorbar. Later on, I read data from a file and update the image. How do I refresh the colorbar to match this new data? Uncommenting the line in my "ReadFromFile" call below generates a new colorbar. I'd just like to

Re: [Matplotlib-users] updating colorbar to match new image data...

2009-02-16 Thread João Luís Silva
Lewis, Ambrose J. wrote: > Hi All: > > I’m using the following code to create and display an image with a > colorbar. Later on, I read data from a file and update the image. > > How do I refresh the colorbar to match this new data? For a colorbar cb I use: cb.set_clim(vmin=min_value,vmax=m

Re: [Matplotlib-users] how to make scatter plot and bar graphs in same figure?

2009-02-16 Thread Ryan May
On Mon, Feb 16, 2009 at 7:22 AM, Manuel Metz wrote: > Attached is a very simple example that shows how to do something similar > to scatterhist in matplotlib > > That's a nice example. Are you going to check that into SVN? Ryan -- Ryan May Graduate Research Assistant School of Meteorology Univ

Re: [Matplotlib-users] Venn diagrams

2009-02-16 Thread jason-sage
Ian Harry wrote: > Hi all, > > Is there any simple way in matplotlib, or in any other python library, to > make a simple Venn diagram, I want to show three events and their > intersections? I have tried googling for any hints but didn't find anything. > > You can use Sage (http://www.sagemath.o

Re: [Matplotlib-users] updating colorbar to match new image data...

2009-02-16 Thread Eric Firing
Lewis, Ambrose J. wrote: > Hi All: > > I’m using the following code to create and display an image with a > colorbar. Later on, I read data from a file and update the image. > > How do I refresh the colorbar to match this new data? Uncommenting the > line in my “ReadFromFile” call below gen

[Matplotlib-users] matplotlib on remote host Mac OS/X

2009-02-16 Thread Davide Lazzati
Hi, I'm trying to rum python and matlpotlib on a remote mac host from my mac laptop. Both have Mac OS/X 10.5.6 and I'm using ssh -Y ... However, the graphic window does not appear and, when I run p.show() everything gets stuck. Any insight? Thanks

Re: [Matplotlib-users] matplotlib on remote host Mac OS/X

2009-02-16 Thread Jeff Whitaker
Davide Lazzati wrote: > Hi, > > I'm trying to rum python and matlpotlib on a remote mac host from my > mac laptop. Both have Mac OS/X 10.5.6 and I'm using ssh -Y ... > > However, the graphic window does not appear and, when I run p.show() > everything gets stuck. > > Any insight? > > Thanks >