[Matplotlib-users] HTML Link in Text

2011-02-23 Thread Mark Janikas
Hello All, Is there a way to add HTML links into output graphics? In short, I would like to use something like the PLT.text command and have it link to an html page. The url arg doesn't seem to be what I am looking for. My final output medium is PDF... so I am using: from matplotlib.backends

[Matplotlib-users] jitter in matplotlib?

2011-02-23 Thread Uri Laserson
Hi all, I am interested in jittering points in a plot. I searched the forum, but I am amazed at the dearth of results on the topic. I am referring to something like this: http://goo.gl/Db47s or http://goo.gl/BjIZt Is there a standard way people do this with MPL? Thanks! Uri ..

[Matplotlib-users] figure window coordinates

2011-02-23 Thread Jack Sankey
Hi everyone! Is there any backend-independent way to get and set the figure window coordinates and sizes (i.e. in pixels)? Currently when I make new plots they appear in random locations as determined by my operating system; during analysis when I'm making and destroying a lot of plot windows I wa

Re: [Matplotlib-users] deleting gray panels in Axes3D

2011-02-23 Thread Benjamin Root
On Wed, Feb 23, 2011 at 4:52 PM, Rene Breton wrote: > Thanks much for the quick answer Ben! > > At least now I know it doesn't exist, yet. I might dig into the source > code to change the color as you suggest. As a workaround, maybe I will > simply tweak the .ps output in Adobe Illustrator; should

Re: [Matplotlib-users] deleting gray panels in Axes3D

2011-02-23 Thread Rene Breton
Thanks much for the quick answer Ben! At least now I know it doesn't exist, yet. I might dig into the source code to change the color as you suggest. As a workaround, maybe I will simply tweak the .ps output in Adobe Illustrator; should be easy enough to remove such thing. By the way, I'm very

Re: [Matplotlib-users] deleting gray panels in Axes3D

2011-02-23 Thread Benjamin Root
On Wed, Feb 23, 2011 at 4:19 PM, Rene Breton wrote: > Hi all, > > I'm making a 3d plot using Axes3D (plot_surface) and I want to get rid > of the 3d gray box that surrounds the object so that only the object > shows up. Is there a way to do it? After creating my Axes3D instance, I > can't find muc

[Matplotlib-users] deleting gray panels in Axes3D

2011-02-23 Thread Rene Breton
Hi all, I'm making a 3d plot using Axes3D (plot_surface) and I want to get rid of the 3d gray box that surrounds the object so that only the object shows up. Is there a way to do it? After creating my Axes3D instance, I can't find much else than methods to change the x,y,z labels and axis limi

Re: [Matplotlib-users] IDL's Polar_surface equivalent in Matplotlib.

2011-02-23 Thread Benjamin Root
On Wed, Feb 23, 2011 at 2:09 PM, bhargav vaidya wrote: > Hello Matplotlib Users. > > I am trying to work my way out to interpolate a surface from polar > coordinates (R,Theta,Z) to rectangular co-ordinates(X,Y,Z) > Basically I am looking for an equivalent for POLAR_SURFACE.pro routine in > IDL us

[Matplotlib-users] 1D and 2D histograms using numpy and matplotlib

2011-02-23 Thread johanngoetz
There have been a lot of messages lately about histograms in general and I though it was about time I share a bit of code I am using to handle them. I have created a Histogram class that inherits directly from the numpy.ndarray object. I then have a plothist() method which creates the plot on a ca

[Matplotlib-users] IDL's Polar_surface equivalent in Matplotlib.

2011-02-23 Thread bhargav vaidya
Hello Matplotlib Users. I am trying to work my way out to interpolate a surface from polar coordinates (R,Theta,Z) to rectangular co-ordinates(X,Y,Z) Basically I am looking for an equivalent for POLAR_SURFACE.pro routine in IDL using matplotlib/Scipy? http://idlastro.gsfc.nasa.gov/idl_html_hel

Re: [Matplotlib-users] Matplotlib Widget and QT Issue

2011-02-23 Thread Jason Stone
Michael, I can get that to work rather easily on a matplotlib.pyplot figure via a patch. I haven't had any luck getting that to work when using the MatplotlibWidget in Qt. Essentially in my code, I'm doing the following (where fig_myData is the MatplotlibWidget instance): result = self.ui.

Re: [Matplotlib-users] Bar chart + line chart?

2011-02-23 Thread Benjamin Root
On Wed, Feb 23, 2011 at 8:34 AM, Jeff Layton wrote: > Good morning, > > I'm looking for examples of creating a bar chart and then adding > a line chart on top of it (with the same y-axis). I haven't had > much luck with Google (probably using the wrong search terms). > > Thanks! > > Jeff > > Jef

[Matplotlib-users] Bar chart + line chart?

2011-02-23 Thread Jeff Layton
Good morning, I'm looking for examples of creating a bar chart and then adding a line chart on top of it (with the same y-axis). I haven't had much luck with Google (probably using the wrong search terms). Thanks! Jeff -