[Matplotlib-users] Making copies of figures and selectively writing them to a multipage PDF

2011-10-07 Thread s kemp
Hi, I am attempting to build a set of Figure objects (based on matplotlib.figure) which are essentially the same chart with different x-axis limits. I would like to do this in a function that returns the figures in a list so that i can choose to write some or all of the figures to a multipage PDF

[Matplotlib-users] matplotlib-1.0.1 with Python 2.7.2 build error

2011-10-07 Thread Sudheer Joseph
Dear Users, I am trying to add module matplotlib-1.0.1 to my Python 2.7.2 on an IBM power6 with Aix 5.3 . I get the below error when I issue the command python setip.py build did any one faced same issue or can I get any expert suggestion for fixing this issue. with

[Matplotlib-users] How to get log axes for a density plot with matplotlib?

2011-10-07 Thread Pau
I am trying to make a 2D density plot (from some simulation data) with matplotlib. My x and y data are defined as the log10 of some quantities. How can I get logarithmic axes (with log minor ticks)? Here is an exemple of my code: import numpy as np import matplotlib.pyplot as plt Data =

[Matplotlib-users] matplotlib window layout questions

2011-10-07 Thread Gökhan Sever
Hello, I have two questions regarding to the positioning of a mpl window (using WXAgg backend) 1-) How to create a maximized window, instead of me clicking on window to maximize it each time? 2-) I have two screens. Interestingly, my mpl windows tend to open on my small screen. How can I force

[Matplotlib-users] finding the bounding box of an arbitrary artist

2011-10-07 Thread Daniel Hyams
I'm wanting to highlight the artist under the cursor with a transparent Rectangle patch. To do this, I have very, roughly, in a mouse motion handler, under = self.figure.hitlist(ev) if under: artist = under[0] bbox = artist.get_window_extent() highlight =

[Matplotlib-users] matplotlib - image size issue

2011-10-07 Thread Isidora
Hi, I am trying to create a chart using a given file as background, drawing some curves on the map, and saving an 800x600 PNG. Code Snipet: map = Basemap( ) pilImg=Image.open('mybkgmap.gif') rgba = pil_to_array(pilImg) map.imshow(rgba,interpolation='nearest') # showing