Re: [Matplotlib-users] Figure area size questions

2012-01-12 Thread Benjamin Root
On Thu, Jan 12, 2012 at 12:09 PM, Christophe Pettus x...@thebuild.comwrote: My apologies for two totally noob questions, but I can't quite seem to find these in the docs; a pointer would be great... No problem. That is what we are here for. 1. I would like to position a legend outside of

Re: [Matplotlib-users] making multi panel figures

2012-01-12 Thread Benjamin Root
On Thu, Jan 12, 2012 at 2:20 PM, Michael Rawlins rawlin...@yahoo.comwrote: On 01/12/12 Ben Root wrote: Just a quick suggestion for cleaning up your code, please look into the argparse module to make command-line parsing so much easier to use. http://docs.python.org/dev/library/argparse.html

Re: [Matplotlib-users] making multi panel figures

2012-01-12 Thread Benjamin Root
On Thu, Jan 12, 2012 at 4:00 PM, Michael Rawlins rawlin...@yahoo.comwrote: On 01/12/12 Ben Root wrote: On Thu, Jan 12, 2012 at 2:20 PM, Michael Rawlins rawlin...@yahoo.comwrote: On 01/12/12 Ben Root wrote: Just a quick suggestion for cleaning up your code, please look into the argparse

Re: [Matplotlib-users] making multi panel figures

2012-01-12 Thread Benjamin Root
On Thu, Jan 12, 2012 at 4:32 PM, Michael Rawlins rawlin...@yahoo.comwrote: On 01/12/12 Ben Root wrote: On Thu, Jan 12, 2012 at 4:00 PM, Michael Rawlins rawlin...@yahoo.comwrote: On 01/12/12 Ben Root wrote: On Thu, Jan 12, 2012 at 2:20 PM, Michael Rawlins rawlin...@yahoo.comwrote: On

Re: [Matplotlib-users] Add a printer button to the navigation toolbar

2012-01-16 Thread Benjamin Root
On Monday, January 16, 2012, Nils Wagner nwag...@iam.uni-stuttgart.de wrote: Hi all, I have filed a ticket for adding a printer button to the navigation toolbar. https://github.com/matplotlib/matplotlib/issues/670 I am interested in a wider response. Any further comments ? Nils Adding

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-17 Thread Benjamin Root
On Tue, Jan 17, 2012 at 9:30 AM, Michael Rawlins rawlin...@yahoo.comwrote: I'm relatively new to matplotlib. Trying to place a colorbar in a figure. The code below, placed in a file and executed with python, draws 4 maps using basemap. I've been unable to get a colorbar to show up anywhere on

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-17 Thread Benjamin Root
On Tue, Jan 17, 2012 at 12:37 PM, Michael Rawlins rawlin...@yahoo.comwrote: -- *From:* Benjamin Root ben.r...@ou.edu *To:* Michael Rawlins rawlin...@yahoo.com *Cc:* matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net *Sent:* Tuesday

Re: [Matplotlib-users] Broken links

2012-01-18 Thread Benjamin Root
On Tue, Jan 17, 2012 at 10:54 AM, Matthew Lennig m...@inforsch.com wrote: I have found several broken links on the matplotlib documentation pages. The broken links I've found occur when I click on an example to see the source code. Here's one of them:

Re: [Matplotlib-users] Animation example error on Mac after installation

2012-01-18 Thread Benjamin Root
On Sun, Jan 15, 2012 at 1:14 AM, Nathan Salomonis nsalomo...@gmail.comwrote: Greetings, I just installed matplotlib on my Mac OS 10.6 Machine (64bit) with default Python 2.7.1 (easy_install). While the initial 2D graph examples work great, when testing any of the animations, such as:

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-19 Thread Benjamin Root
On Thursday, January 19, 2012, Michael Rawlins rawlin...@yahoo.com wrote: From: Michael Rawlins rawlin...@yahoo.com To: Benjamin Root ben.r...@ou.edu Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Wednesday, January

Re: [Matplotlib-users] Plotting contour in X-Z plane

2012-01-19 Thread Benjamin Root
On Thu, Jan 19, 2012 at 10:30 AM, alw46 amandalaurelw...@gmail.com wrote: Hi All, I have a question similar to one posted on Aug 30, 2011 titled Plotting 2D contourf in Axes3D X-Z plane instead of X-Y plane. In fact, it is the same question, and I can't seem to find a satisfactory answer

Re: [Matplotlib-users] Plotting contour in X-Z plane

2012-01-23 Thread Benjamin Root
On Thu, Jan 19, 2012 at 12:01 PM, Moore, Eric (NIH/NIDDK) [F] eric.moo...@nih.gov wrote: -Original Message- From: alw46 [mailto:amandalaurelw...@gmail.com] Sent: Thursday, January 19, 2012 11:31 AM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] Plotting

Re: [Matplotlib-users] How to create a movie?? (from matlab code)

2012-01-23 Thread Benjamin Root
2012/1/23 Gousios George gg...@windowslive.com ** Στις 23/01/2012 07:48 μμ, ο/η Tony Yu έγραψε: 2012/1/23 Gousios George gg...@windowslive.com Στις 23/01/2012 06:52 μμ, ο/η Tony Yu έγραψε: 2012/1/23 Gousios George gg...@windowslive.com Στις 21/01/2012 07:43 μμ, ο/η Gousios George

Re: [Matplotlib-users] Eye patterns (Heat plot?)

2012-01-23 Thread Benjamin Root
On Mon, Jan 23, 2012 at 1:46 PM, Ethan Swint esw...@vt.edu wrote: On 1/23/2012 1:55 PM, Russ Dill wrote: On Mon, Jan 23, 2012 at 11:17 AM, Stan Weststan.w...@nrl.navy.mil wrote: From: Russ Dill [mailto:russ.d...@gmail.com] Sent: Saturday, January 21, 2012 16:31 I'm using matplotlib

Re: [Matplotlib-users] beginner examples using matplotlib.transforms?

2012-01-23 Thread Benjamin Root
On Mon, Jan 23, 2012 at 2:21 PM, Tony Yu tsy...@gmail.com wrote: On Mon, Jan 23, 2012 at 2:43 PM, reckoner recko...@gmail.com wrote: Hi, I am trying to create a sequence of rotated rectangles of various sizes/orientations. I have been looking at the following page:

Re: [Matplotlib-users] [Bug] Bar plot with log scale on y axes

2012-01-23 Thread Benjamin Root
On Monday, January 23, 2012, Álvaro Justen [Turicas] alvarojus...@gmail.com wrote: Hello, I'm using version 1.0.1 and I think this code snippet and the images attached are enough to explain the bug: https://gist.github.com/1667300 Images 'bar-log-bug.png' and 'bar-log-ok.png' must be the

Re: [Matplotlib-users] Events

2012-01-26 Thread Benjamin Root
On Thu, Jan 26, 2012 at 3:24 PM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: Does anybody know how to generate and process my private events? I can subclass the Event() class, say, MyEvent, with a name my_event, and I can - canvas.mpl_connect('my_event', aCallback) but then,

Re: [Matplotlib-users] four colour theorem

2012-01-27 Thread Benjamin Root
On Friday, January 27, 2012, Eric Emsellem eemse...@eso.org wrote: Dear all, I have a set of Voronoi bins, defined by nodes (x,y) and an underlying mesh of squared bins. See an example here of such Voronoi bins.

Re: [Matplotlib-users] [matplotlib-users] How to plot y vs x with some missing points in y vector?

2012-01-27 Thread Benjamin Root
On Fri, Jan 27, 2012 at 9:52 AM, Fabien Lafont lafont.fab...@gmail.comwrote: Sorry, It's an awkward manipulation. I finish the mail 2012/1/27 Fabien Lafont lafont.fab...@gmail.com: I want to plot something like: X(time)Ypoints 08 1 2

Re: [Matplotlib-users] [matplotlib-users] How to plot y vs x with some missing points in y vector?

2012-01-27 Thread Benjamin Root
On Fri, Jan 27, 2012 at 10:11 AM, Fabien Lafont lafont.fab...@gmail.comwrote: Yes in fact it plot it well, but then I have a vector like: [3702.13999, nan, nan, nan, 3703.79, nan, nan, nan, 3704.69001, 3704.84001] and it's impossible to fit it. It return 'nan'. Ive

Re: [Matplotlib-users] Events

2012-01-27 Thread Benjamin Root
On Fri, Jan 27, 2012 at 4:54 AM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: Benjamin Root answers my query concerning user-generated events : To answer your question, take a look at how pick_event() is declared in backend_bases.py: def pick_event(self, mouseevent

Re: [Matplotlib-users] Hardware rendering with tricontourf

2012-01-27 Thread Benjamin Root
On Fri, Jan 27, 2012 at 10:06 AM, Howard how...@renci.org wrote: On 1/27/12 3:39 AM, Ian Thomas wrote: On 26 January 2012 19:36, Howard how...@renci.org wrote: I'm rendering some images with about 3.5 million triangles into a 512x512 png file using tricontourf. I'm running this in a

Re: [Matplotlib-users] Events

2012-01-28 Thread Benjamin Root
On Sat, Jan 28, 2012 at 10:31 AM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: Benjamin Root about my miserable event problem : Still not sure why my suggestion would not work: http://matplotlib.sourceforge.net/api/cbook_api.html#matplotlib.cbook.CallbackRegistry I thought I

Re: [Matplotlib-users] Events

2012-01-29 Thread Benjamin Root
. The last dialogue with Benjamin Root, whom I am deeply grateful, cleared my doubts. Ben confirms that I am on my own: // you need to create your web of callbacks accordingly. The callback registry is just simply a tool that we created for our use. Keep in mind that your original question

Re: [Matplotlib-users] problem finding axes_grid1

2012-01-31 Thread Benjamin Root
On Sunday, January 29, 2012, BG barterguy8675...@gmail.com wrote: Hello all, I'm new to using Matplotlib. I am on Ubuntu 10.4, and I installed through apt-get. I then downloaded and installed basemap according to the instructions on the basemap site. However, when I run simpletest.py from

Re: [Matplotlib-users] problem finding axes_grid1

2012-01-31 Thread Benjamin Root
On Tue, Jan 31, 2012 at 10:05 AM, BG barterguy8675...@gmail.com wrote: Here are the outputs from running a basemap test and a test from the matplotlib examples. Thank you for your help. TEST FROM MATPLOTLIB EXAMPLES: ~/Downloads/matplotlib-1.1.0/examples/axes_grid$ python

Re: [Matplotlib-users] matplotlib 1.1 latest test fail

2012-01-31 Thread Benjamin Root
On Tue, Jan 31, 2012 at 2:01 PM, Serhat Sevki Dincer jfcga...@gmail.comwrote: Hi, I have just installed the latest Numpy-1.6, Scipy-0.10 and matplotlib-1.1 from github on my ubuntu 11.04 i386 laptop. numpy and scipy tests pass, but matplotlib tests fail with two errors. Attaching the

Re: [Matplotlib-users] Plotting irregular data without interpolation

2012-02-01 Thread Benjamin Root
On Wed, Feb 1, 2012 at 9:59 AM, Alexis Praga alexis.pr...@free.fr wrote: Hi, I have not found any documentation on plotting non regular data with basemap *without* interpolation. Plotting scattered data on the sphere works fine, but the size of each point seems to be limited, so there are

Re: [Matplotlib-users] How Clear Points Without Wiping Everything?

2012-02-02 Thread Benjamin Root
On Wed, Feb 1, 2012 at 4:07 PM, Jim St.Cyr jim.st...@gmail.com wrote: Hello- Scenario: Basemap used to display the East Coast of the US and the Atlantic Ocean. Shapelib is used read a shapefile the contents of is pumped into a PyPlot subplot hosted Line Collection which overlays the ocean

Re: [Matplotlib-users] How Clear Points Without Wiping Everything?

2012-02-02 Thread Benjamin Root
On Thu, Feb 2, 2012 at 2:54 PM, Jim St.Cyr jim.st...@gmail.com wrote: On 2/2/2012 3:41 PM, Benjamin Root wrote: On Wed, Feb 1, 2012 at 4:07 PM, Jim St.Cyr jim.st...@gmail.com wrote: Hello- Scenario: Basemap used to display the East Coast of the US and the Atlantic Ocean. Shapelib

Re: [Matplotlib-users] How Clear Points Without Wiping Everything?

2012-02-02 Thread Benjamin Root
On Thu, Feb 2, 2012 at 3:04 PM, G Jones glenn.calt...@gmail.com wrote: Note there is a typo. Ben assigned the output to pts but then referenced res. Good catch! Ben Root -- Keep Your Developer Skills Current with

Re: [Matplotlib-users] How Clear Points Without Wiping Everything?

2012-02-02 Thread Benjamin Root
On Thu, Feb 2, 2012 at 3:52 PM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: Benjamin Root : Just about any mpl plotting function (plot(), scatter(), hist(), etc.) returns an object. Most of the time, users do not save the result into a variable, but if you want to do

Re: [Matplotlib-users] Setting x scale manually, but letting y scale automatic within the current x-axis

2012-02-03 Thread Benjamin Root
On Friday, February 3, 2012, Pål Gunnar Ellingsen paa...@gmail.com wrote: Hi I've got a plot, containing a graph. I would like to look at certain parts of it. To do this I zoom in on the x-axis using set_xlim() Then I would like to call autoscale(axis='y') and have matplotlib autoscale the

Re: [Matplotlib-users] Setting x scale manually, but letting y scale automatic within the current x-axis

2012-02-03 Thread Benjamin Root
On Fri, Feb 3, 2012 at 9:15 AM, Pål Gunnar Ellingsen paa...@gmail.comwrote: Hi Thank you for trying to help me, though I can't see how aspect is going to help me. As I understand of the documentation, it would require me to know the relationship between x and y, which I don't. I can

Re: [Matplotlib-users] many plots

2012-02-03 Thread Benjamin Root
On Fri, Feb 3, 2012 at 10:27 AM, Saurav Pathak sau...@sas.upenn.edu wrote: Hi All, First, thanks for a very cool and pretty tool! My problem is, I have a 2D numpy array, say m by n, and I would like to display the data in n plots (with the same abscissa). That is, the 2D numpy array holds

Re: [Matplotlib-users] Adding lines around 3d bounding box?

2012-02-03 Thread Benjamin Root
On Friday, February 3, 2012, Jacob Biesinger jake.biesin...@gmail.com wrote: Hi! In matplotlib's 3d plotting, the three corners of the 3d cube closest to the camera are used as the axis and receive tick marks, labels, and a dark black line. Is it possible to have the black line and ticks show

Re: [Matplotlib-users] Setting x scale manually, but letting y scale automatic within the current x-axis

2012-02-06 Thread Benjamin Root
On Mon, Feb 6, 2012 at 4:47 AM, Pål Gunnar Ellingsen paa...@gmail.comwrote: Hi I understand that it would be hard to implement, as it requires that all the points are checked, which for a arbitrary plot is not easy. Though is this not what is already done for the normal autoscale, or have I

Re: [Matplotlib-users] specgram memory problem

2012-02-06 Thread Benjamin Root
On Mon, Feb 6, 2012 at 11:59 AM, David Craig dcdavem...@gmail.com wrote: I'm using a lenovo laptop with fedora 16. It has 2.9 GiB memory and 4 intel core CPUs @ 2.3GHz each. Available disk space is 147.9GiB. numpy 1.6.0 matplotlib 1.0.1 32-bit or 64-bit OS? Please use 'uname -a' to tell

Re: [Matplotlib-users] (no subject)

2012-02-06 Thread Benjamin Root
On Mon, Feb 6, 2012 at 1:07 PM, Debashish Saha silid...@gmail.com wrote: what is the basic difference between the commands import pylab as * import matplotlib.pyplot as plt This page should help you out. Let us know if you have any further questions.

[Matplotlib-users] How matplotlib got me a job

2012-02-06 Thread Benjamin Root
Alternate title: How I finally convinced my Dad that open-source can put food on the table. Since this entire story got started on this mailing list, I figured it would be appropriate to end it here. Last Friday, I signed a contract to begin working as a Senior Scientific Programmer for a

Re: [Matplotlib-users] [matplotlib-users] Is it possible to set .pdf as defaut when saving an image?

2012-02-07 Thread Benjamin Root
On Tue, Feb 7, 2012 at 8:33 AM, Fabien Lafont lafont.fab...@gmail.comwrote: Is it possible to set the extension .pdf as defaut when I save an image using the matplotlib bar. My coworkers are always saving the image in png and it's really ugly! Thx, Fab Interesting request. Looking

Re: [Matplotlib-users] rendering unicode using the PDF backend

2012-02-07 Thread Benjamin Root
On Tue, Feb 7, 2012 at 12:30 PM, Mark Janikas mjani...@esri.com wrote: I downloaded DejaVu Sans and pointed to that ttf file, and no love L… Again, the default font seems to work for English, French, German, Spanish, Italian other Euros etal… but Chinese and Arabic either come out blank

Re: [Matplotlib-users] Partial coloring of text in matplotlib

2012-02-07 Thread Benjamin Root
On Tue, Feb 7, 2012 at 12:38 PM, Gökhan Sever gokhanse...@gmail.com wrote: Posted at https://github.com/matplotlib/matplotlib/issues/697 I think a syntax like: plt.ylabel(Sun is shining., color='rgb') would be a good start. (Assuming len of string == len of colors) Don't know if I like

Re: [Matplotlib-users] Partial coloring of text in matplotlib

2012-02-07 Thread Benjamin Root
On Tue, Feb 7, 2012 at 1:15 PM, Gökhan Sever gokhanse...@gmail.com wrote: I was basing my whitespace split idea on single string assumption --eg. no list passing. I do not have a strong preference on the final argument passing, as long as it works instead of manually placing the texts on

Re: [Matplotlib-users] Missing Segments in Output of imshow()

2012-02-08 Thread Benjamin Root
On Wednesday, February 8, 2012, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: I am experiencing missing segments in the output of imshow() Here is a minimal example: I have attached an example of the output. In theory, there should be a continuous line from the left side of

Re: [Matplotlib-users] cmap.set_bad() not showing any effect with pcolor()

2012-02-10 Thread Benjamin Root
On Fri, Feb 10, 2012 at 11:23 AM, Andreas H. li...@hilboll.de wrote: Thanks Jeff! I really should have looked at the docs more carefully. I suppose pcolor could be modified to fill the masked polygons with the color indicated by cmap.set_bad - I think that's what most people would

Re: [Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread Benjamin Root
On Mon, Feb 13, 2012 at 1:33 PM, reckoner recko...@gmail.com wrote: Here's a better example: th= array([ 4.65542641, 5.32920696, 2.20928291]) p=patch.Polygon(array([cos(th),sin(th)]).T) print p.contains_point((0,0)) 1 print matplotlib.nxutils.pnpoly(0,0,p.get_path().vertices) 0

Re: [Matplotlib-users] Polygon contains_point() different from matplotlib.nxutils.points_inside_poly?

2012-02-13 Thread Benjamin Root
On Mon, Feb 13, 2012 at 2:59 PM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: reckoner: th= array([ 4.65542641, 5.32920696, 2.20928291]) p=patch.Polygon(array([cos(th),sin(th)]).T) print p.contains_point((0,0)) 1 print

Re: [Matplotlib-users] 64-bit matplotlib 1.1.0 installer available

2012-02-14 Thread Benjamin Root
On Tuesday, February 14, 2012, Russell E. Owen ro...@uw.edu wrote: I just created a binary installer for python.org's 64-bit Python 2.7 (MacOS X 10.6 and later). I'd like a few folks to test it to make sure it works for more than just me, before serving it at the usual location. The temporary

Re: [Matplotlib-users] 64-bit matplotlib 1.1.0 installer available

2012-02-14 Thread Benjamin Root
On Tuesday, February 14, 2012, 7stud 7s...@excite.com wrote: Russell E. Owen rowen@... writes: I just created a binary installer for python.org's 64-bit Python 2.7 (MacOS X 10.6 and later). I'd like a few folks to test it to make sure it works for more than just me, before serving it at the

Re: [Matplotlib-users] matplotlib install on mac osx 10.6.8

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 7:00 PM, 7stud 7s...@excite.com wrote: Russell E. Owen rowen@... writes: The file you found is the only option for MacOS X (presently). It requires python.org's 32-bit Python 2.7, which is for MacOS X 10.3.9 and later. I just built an installer for

Re: [Matplotlib-users] [wxmpl] mouse location (other PointEvents?) fail when two axes share same area

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 4:54 AM, Oren Gampel o...@futuretech.co.il wrote: This is relating wxmpl (wxPython+matplotlib). version 2.0dev of wxmpl, matplotlib ver 1.1.0, and wx version is 2.8.12.1. Since wxmpl is a very thin layer above mpl, I believe this is an issue with mpl. I'm using

Re: [Matplotlib-users] _RendererAgg(int(width), int(height), dpi, debug=False): ValueError: width and height must each be below 32768

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 4:43 PM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Ah, this seems to be the issue that my figsize was growing all the time so it went over the maximum limits. I thought this is valid: DefaultSize = F.get_size_inches() print str(DefaultSize) blah

Re: [Matplotlib-users] 64-bit matplotlib 1.1.0 installer available

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 9:23 PM, 7stud 7s...@excite.com wrote: Benjamin Root ben.root@... writes: The second one shouldn't take much time at all to finish. How long did it take? How big was the png file? Ben Root def my_func(): import matplotlib.pyplot as plot xs = [2, 3, 5

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrence breamore...@yahoo.co.ukwrote: On 14/02/2012 13:52, Debashish Saha wrote: import numpy from enthought.mayavi import mlab #def test_mesh(): #A very pretty picture of spherical harmonics translated from #the octaviz example. for r in

Re: [Matplotlib-users] Creating frames for use with ArtistAnimation?

2012-02-15 Thread Benjamin Root
On Sat, Feb 11, 2012 at 8:22 AM, reckoner recko...@gmail.com wrote: Hi, I am creating a big and complicated plot by doing things like: ax.add_patch( ... ) and when I'm done I want to save the resulting frame. However, I've looked through the examples and it seems like you have to use

Re: [Matplotlib-users] Colorbar interfering with figure

2012-02-15 Thread Benjamin Root
On Mon, Feb 13, 2012 at 10:38 AM, Bruce Ford br...@clearscienceinc.comwrote: I have a application that plots figures on demand. I'm running into an issue when plotting more than one parameter on a figure. Each parameter is run through libraries that I've written that make decisions and

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Benjamin Root
On Wed, Feb 15, 2012 at 3:57 PM, Mark Lawrence breamore...@yahoo.co.ukwrote: On 15/02/2012 21:34, Benjamin Root wrote: On Wed, Feb 15, 2012 at 2:52 PM, Mark Lawrencebreamore...@yahoo.co.uk wrote: On 15/02/2012 17:21, Benjamin Root wrote: On Tue, Feb 14, 2012 at 8:58 AM, Mark

Re: [Matplotlib-users] svg in plot

2012-02-16 Thread Benjamin Root
On Thu, Feb 16, 2012 at 1:53 PM, Jeffrey Blackburne jblackbu...@alum.mit.edu wrote: Hi William, I am fairly certain that matplotlib does not have the capability to do what you are looking for. (If I am wrong, I'm sure someone will correct me.) You may have better luck using something like

Re: [Matplotlib-users] svg in plot

2012-02-16 Thread Benjamin Root
On Thu, Feb 16, 2012 at 2:41 PM, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: I forgot to add something... Benjamin Root : There is absolutely no reason why a module could not be made for this, given that everything in matplotlib is assumed to be vector-based. You just need

Re: [Matplotlib-users] _RendererAgg(int(width), int(height), dpi, debug=False): ValueError: width and height must each be below 32768

2012-02-16 Thread Benjamin Root
On Thu, Feb 16, 2012 at 3:09 PM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: Hi Benjamin, thank you for you explanation. My comment is below in the text: Benjamin Root wrote: On Tue, Feb 14, 2012 at 4:43 PM, Martin Mokrejs mmokr...@fold.natur.cuni.cz mailto:mmokr

Re: [Matplotlib-users] _RendererAgg(int(width), int(height), dpi, debug=False): ValueError: width and height must each be below 32768

2012-02-16 Thread Benjamin Root
the view (creating a duplicate view). Ben Root Yes, please document this at least if you really cannot return a simple list or tuple. Thanks, Martin Benjamin Root wrote: On Thu, Feb 16, 2012 at 3:09 PM, Martin Mokrejs mmokr...@fold.natur.cuni.cz javascript:; mailto: mmokr

Re: [Matplotlib-users] Dynamically adjusting the color scale in NonUniformImage

2012-02-17 Thread Benjamin Root
On Friday, February 17, 2012, Ray Osborn wrote: I am embedding a matplotlib canvas in a Pyside GUI and wanted to attach a slider to adjust the color scale of a 2D plot made using NonUnitformImage. I am connecting the slider value to im.set_clim([vmin,vmax]). I have got my axis sliders to

Re: [Matplotlib-users] key_press_events in matplotlib embedded in pyqt4

2012-02-18 Thread Benjamin Root
On Saturday, February 18, 2012, Jerzy Karczmarczuk wrote: Saurav Pathak : I am trying to generate key press events in matplotlib (imshow) embedded in pyqt4, but I am getting nowhere. Yes, another victim... My small animation test program

Re: [Matplotlib-users] plot as individual colorbars

2012-02-18 Thread Benjamin Root
On Saturday, February 18, 2012, Tony Yu wrote: On Tue, Feb 14, 2012 at 12:49 PM, Olе Streicher ole-usenet-s...@gmx.netjavascript:_e({}, 'cvml', 'ole-usenet-s...@gmx.net'); wrote: Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr javascript:_e({}, 'cvml',

Re: [Matplotlib-users] Animation module

2012-02-20 Thread Benjamin Root
On Mon, Feb 20, 2012 at 12:32 PM, Allen Hathaway ahatha...@autumnharp.comwrote: I downloaded the Windows installer and installed matplotlib. I tried to run one of the examples from the examples directory – animate_decay – and got the following error: ** ** Traceback (most recent call

Re: [Matplotlib-users] Cross Section Axes (Not framed)

2012-02-20 Thread Benjamin Root
On Sunday, February 19, 2012, Limping_Twerp wrote: Hey guys, how do I configure my plot in a way that there arent framed axes but cross - section -axes? I talk about this | | | | |

Re: [Matplotlib-users] sizebars at fixed location

2012-02-21 Thread Benjamin Root
On Tue, Feb 21, 2012 at 9:56 AM, Bartosz Telenczuk b.telenc...@biologie.hu-berlin.de wrote: Hi again, I found an example that implements something like I described: http://matplotlib.sourceforge.net/examples/pylab_examples/anchored_artists.html?highlight=size%20bar However, it did not

Re: [Matplotlib-users] Taylor diagram (2nd take)

2012-02-21 Thread Benjamin Root
On Tue, Feb 21, 2012 at 12:04 PM, Eric Firing efir...@hawaii.edu wrote: On 02/21/2012 05:10 AM, Yannick Copin wrote: Hi, after iterating with Michael A. Rawlins over my previous attempt to code a Taylor diagram (see [1]), here's a new version of my code, along with an example plot.

Re: [Matplotlib-users] show() does not pop up a window

2012-02-21 Thread Benjamin Root
On Tuesday, February 21, 2012, Michael Rawlins wrote: -- *From:* Benjamin Root ben.r...@ou.edu javascript:_e({}, 'cvml', 'ben.r...@ou.edu'); *To:* Michael Rawlins rawlin...@yahoo.com javascript:_e({}, 'cvml', 'rawlin...@yahoo.com'); *Cc:* matplotlib-users

Re: [Matplotlib-users] a venn diagram function written in python

2012-02-22 Thread Benjamin Root
No need to ask permission. Just make a pull request on github. It may take some time, but we will get to evaluating your patch. A pull request is your best bet. Ben Root On Wednesday, February 22, 2012, Mic wrote: Dear Jianfeng, Probably, you have to join developer mailing list (

Re: [Matplotlib-users] problems installaling matplotlib on ubuntu 11.10

2012-02-22 Thread Benjamin Root
On Wednesday, February 22, 2012, wrote: Dear users, I am trying to install matplotlib from source. When I run: sudo python setup.py install build.out I got the following: basedirlist is: ['/usr/local', '/usr']

Re: [Matplotlib-users] Bar graphs showing up incorrectly until they are resized:

2012-02-23 Thread Benjamin Root
On Thu, Feb 23, 2012 at 5:02 AM, federico vaggi vaggi.feder...@gmail.comwrote: Hi, I am using matplotlib to draw a few bar plots. The library works wonderfully, but the figures are drawn incorrectly until they are resized Here is the figure before resizing: http://imgur.com/MKATg here

Re: [Matplotlib-users] Matplotlib gallery

2012-02-23 Thread Benjamin Root
On Thu, Feb 23, 2012 at 8:14 AM, Nicolas Rougier nicolas.roug...@inria.frwrote: I've seen the discussion around the re-organization of the matplotlib gallery. If that might help, here is a link to a small gallery I made. The overall organization is simply based on subdirectories so maybe

Re: [Matplotlib-users] surface plot

2012-02-23 Thread Benjamin Root
On Thu, Feb 23, 2012 at 10:14 AM, David Craig dcdavem...@gmail.com wrote: Hi, I have an array defined by 3 variables p(x,z,t). I would like to produce a surface plot with colors defined by p and animate it. That is plot the value of p at all x and z, over time (t). My code to get p is below

Re: [Matplotlib-users] Fwd: Matplotlib gallery

2012-02-23 Thread Benjamin Root
On Thu, Feb 23, 2012 at 10:41 AM, Tony Yu tsy...@gmail.com wrote: On Thu, Feb 23, 2012 at 11:32 AM, josef.p...@gmail.com wrote: I will never get use to reply-all -- Forwarded message -- From: josef.p...@gmail.com Date: Thu, Feb 23, 2012 at 11:31 AM Subject: Re:

Re: [Matplotlib-users] Fwd: Matplotlib gallery

2012-02-23 Thread Benjamin Root
On Thu, Feb 23, 2012 at 10:55 AM, Filipe Pires Alvarenga Fernandes ocef...@gmail.com wrote: Just a suggestion. All these ideas sounds like a google code-in task. http://code.google.com/intl/pt-BR/opensource/gci/2010-11/ I do not know if Matplotlib participated in the past, if not take a

Re: [Matplotlib-users] a venn diagram function written in python

2012-02-25 Thread Benjamin Root
On Friday, February 24, 2012, fdu.xia...@gmail.com wrote: Dear Ben Root, I have made a pull request of matplotlib on github, and I put my venn function on https://github.com/icetime/**matplotlib/blob/master/lib/**

Re: [Matplotlib-users] Combining pcolormesh and contour

2012-02-28 Thread Benjamin Root
On Tuesday, February 28, 2012, Andreas H. wrote: Good morning, I'm creating the attached plot using pcolormesh(). What I would like to do now is draw contour lines at +/- 2.5%, which follow the grid edges. The problem is that when I use contour(), the lines drawn do not follow the grid

Re: [Matplotlib-users] Set width before saving

2012-02-28 Thread Benjamin Root
On Tue, Feb 28, 2012 at 3:48 PM, Mario Fuest mariofu...@aol.com wrote: Hi there, Currently i use these commands to layout and save my figures: figure ... gca.set_aspect('equal') gca.autoscale(tight=True) ... plt.savefig('fpp.png', bbox_inches='tight', pad_inches=0) I would

Re: [Matplotlib-users] Event handling in pyqt4

2012-02-29 Thread Benjamin Root
On Wed, Feb 29, 2012 at 5:09 AM, Nils Wagner nwag...@iam.uni-stuttgart.dewrote: Hi all, I tried to combine an event with an annotation. However, the annotation is not visible, when I click on the curves. How can I resolve the problem ? The code is available at http://pastebin.com/QxKBZtaX

Re: [Matplotlib-users] plt.close(fig) error in python 3.2

2012-02-29 Thread Benjamin Root
On Wed, Feb 29, 2012 at 7:32 AM, josef.p...@gmail.com wrote: Sorry for reporting this here, it's the only way for matplotlib I'm signed up for. I'm testing scikits statsmodels on Python 3.2 plt.close(fig) in the graphics tests raises an error, python 3.2, matplotlib 1.2.x from Gohlke for

Re: [Matplotlib-users] open ascii grid data and plot

2012-02-29 Thread Benjamin Root
On Wednesday, February 29, 2012, questions anon wrote: I have had some progress reading in the data but am unsure how to create lats and lons from the info I have (see above). the error I am receiving is: Traceback (most recent call last): File d:\plotrainfall.py, line 40, in module

Re: [Matplotlib-users] xtick labels size and positions

2012-03-01 Thread Benjamin Root
On Thu, Mar 1, 2012 at 11:33 AM, Pawel pawe...@gmail.com wrote: Hi all, Is it possible to set the size of only some tick labels? I have text tick labels (residue names). I'd like to reduce the font size of just two of the labels to make them fit better, but keep the size of the remaining

Re: [Matplotlib-users] custom markers from images?

2012-03-01 Thread Benjamin Root
On Wed, Feb 29, 2012 at 5:47 PM, C M cmpyt...@gmail.com wrote: I'd like to use, in one case, small loaded images (pngs) as markers on an interactive matplotlib plot (using the OO approach). I'd potentially like to be able to point-pick these markers, too, as well as have them update

Re: [Matplotlib-users] matplotlib hanging on Mac OS 10.7 with Python 2.7.2 EPD 7.2-2 (64-bit)

2012-03-01 Thread Benjamin Root
On Thu, Mar 1, 2012 at 10:59 AM, Jean-Baptiste Marquette marqu...@iap.frwrote: Dear Python gurus, I have written the attached script to plot data from SAMP interaction with TOPCAT (http://www.star.bris.ac.uk/~mbt/topcat/). I select a row on a given table (VOtable format) in TOPCAT, got the

Re: [Matplotlib-users] backend with edition capabilities

2012-03-01 Thread Benjamin Root
On Wed, Feb 29, 2012 at 4:02 PM, Federico Ariza ariza.feder...@gmail.comwrote: Dear all I am a long time matplotlib user (under linux) but new to the list (second post). On of the things that bothers me the most is the inability of the standard backend to change simple things (line color,

Re: [Matplotlib-users] custom markers from images?

2012-03-01 Thread Benjamin Root
On Thu, Mar 1, 2012 at 1:11 PM, C M cmpyt...@gmail.com wrote: Yeah, there are better ways to do that, somewhat. The problem with the proposed solution is that it relies on non-public APIs, which are can be subject to change without deprecation. Instead, I would have created the figimage

Re: [Matplotlib-users] xtick labels size and positions

2012-03-01 Thread Benjamin Root
On Thu, Mar 1, 2012 at 3:03 PM, Pawel pawe...@gmail.com wrote: ** Thanks Ben. Your solution for setting different fontsizes worked like a charm! Glad it worked. For the other question, what I meant by padding was the distance of the tick label from the axis. This is what I set with the

Re: [Matplotlib-users] backend with edition capabilities

2012-03-01 Thread Benjamin Root
On Thursday, March 1, 2012, Jerzy Karczmarczuk jerzy.karczmarc...@unicaen.fr wrote: Andrea Gavana : Anyway, if I am not completely off-track, this is something I had been looking for as well in matplotlib a while back (3, 4 years ago), but at that time I was told it would have been

Re: [Matplotlib-users] problems installaling matplotlib on ubuntu 11.10

2012-03-05 Thread Benjamin Root
On Mon, Mar 5, 2012 at 1:47 PM, ava...@famaf.unc.edu.ar wrote: On Feb 23, 2012 1:39 PM, ava...@famaf.unc.edu.ar wrote: should I reinstall numpy? No need. You should be able to build matplotlib without sudo and then install with sudo python setup.py build sudo python setup.py

Re: [Matplotlib-users] Problem building doc in trunk

2012-03-06 Thread Benjamin Root
On Tue, Mar 6, 2012 at 9:27 AM, Jorge Scandaliaris jorgesmbox...@yahoo.eswrote: Hi, I updated mpl to trunk today and I received the followin error when trying to build the documentation: $ python2 make.py html Running Sphinx v1.1.2 Extension error: Could not import extension

Re: [Matplotlib-users] Problem building doc in trunk

2012-03-06 Thread Benjamin Root
On Tue, Mar 6, 2012 at 12:26 PM, Jorge Scandaliaris jorgesmbox...@yahoo.eswrote: Benjamin Root ben.root@... writes: Strange. Could you include the entire sphinx output as well as any logs that the build produced?Ben Root Somehow I assumed that matplotlib itself was OK, but I just

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Benjamin Root
On Wed, Mar 7, 2012 at 10:46 AM, Jorge Scandaliaris jorgesmbox...@yahoo.eswrote: Hi, I've had an import error with some of my code, specifically with nxutils (I need it for using points_inside_poly). In [1]: import matplotlib.nxutils as nx

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Benjamin Root
On Wed, Mar 7, 2012 at 12:44 PM, Michael Droettboom md...@stsci.edu wrote: On 03/07/2012 01:39 PM, John Hunter wrote: On Wed, Mar 7, 2012 at 12:31 PM, Michael Droettboom md...@stsci.eduwrote: I agree that the deprecation process should have been followed better. However, I'm not sure

Re: [Matplotlib-users] Changing a single marker on a line

2012-03-08 Thread Benjamin Root
On Thu, Mar 8, 2012 at 10:18 AM, federico vaggi vaggi.feder...@gmail.comwrote: Hi, I have a very simple request - I am drawing a line with n points, using a particle marker - something like: x = np.linspace(1,10,11) ** 2 y = np.linspace(1,10,11) plot(x,y,'ro') Is there any way to change

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-08 Thread Benjamin Root
On Thu, Mar 8, 2012 at 10:47 AM, John Hunter jdh2...@gmail.com wrote: On Thu, Mar 8, 2012 at 10:32 AM, Benjamin Root ben.r...@ou.edu wrote: +1 as well. I just took another look at the Path object and I see no such function. The lack of this function is a problem for me as well in my

Re: [Matplotlib-users] Errorbars not drawn correctly in logarithmic scales

2012-03-08 Thread Benjamin Root
On Thursday, March 8, 2012, Wolfgang Draxinger wdraxinger.maill...@draxit.de wrote: Hi, I've a problem with some errorbars not drawn correctly in (double) logarithmic plots. See this PDF for an example: http://dl.wolfgang-draxinger.net/C6_77MeV_raddamage.pdf The vertical errorbar for the

Re: [Matplotlib-users] Errorbars not drawn correctly in logarithmic scales

2012-03-08 Thread Benjamin Root
On Thursday, March 8, 2012, Benjamin Root ben.r...@ou.edu wrote: On Thursday, March 8, 2012, Wolfgang Draxinger wdraxinger.maill...@draxit.de wrote: Hi, I've a problem with some errorbars not drawn correctly in (double) logarithmic plots. See this PDF for an example: http://dl.wolfgang

Re: [Matplotlib-users] imshow of scalar 2D array using a shared color scale

2012-03-08 Thread Benjamin Root
On Thursday, March 8, 2012, Wolfgang Draxinger wdraxinger.maill...@draxit.de wrote: Hi, I've got a datasets of a pixel particle detector for a number of independent events. I'd like to show them in a row but have them all use the same value and thus color range. What's the most

<    3   4   5   6   7   8   9   10   11   12   >