[Matplotlib-users] Generating animated PNG files with numpngw

2015-11-13 Thread Warren Weckesser
Matplotlib users, I just put the package "numpngw" up on pypi: https://pypi.python.org/pypi/numpngw The development version is on github: https://github.com/WarrenWeckesser/numpngw The reason this might be of interest to maplotlib users is the class "numpngw.AnimatedPNGWriter". This class can

Re: [Matplotlib-users] trouble switching off smoothing in imshow()

2012-10-09 Thread Warren Weckesser
On Tue, Oct 9, 2012 at 10:11 AM, Anand Sivaramakrishnan an...@stsci.eduwrote: I ask having trouble getting imshow to plot e.g. a detector image showing pixels as little rectangular or square uniform color blocks - imshow seems to want to interpolate or smooth the image. Using imshow(nearest)

Re: [Matplotlib-users] plotting a colored symbol with plot command

2012-08-25 Thread Warren Weckesser
On Sat, Aug 25, 2012 at 9:59 AM, Michael Rawlins rawlin...@yahoo.comwrote: -- *From:* Damon McDougall damon.mcdoug...@gmail.com *To:* Michael Rawlins rawlin...@yahoo.com *Cc:* matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net

Re: [Matplotlib-users] scatter plot individual alpha values

2012-08-08 Thread Warren Weckesser
On Wed, Aug 8, 2012 at 3:34 PM, Gustavo Goretkin gustavo.goret...@gmail.com wrote: I can use the scatter function to plot an array of points and give a corresponding array of colors to set those points. Is it possible to do the same thing with alpha values? Right now, I'm restoring to

Re: [Matplotlib-users] trouble with Wt argument of matplotlib.mlab.PCA

2012-06-14 Thread Warren Weckesser
On Tue, Jun 12, 2012 at 11:59 AM, Paul Hobson pmhob...@gmail.com wrote: On Mon, Jun 11, 2012 at 11:03 PM, Justin R justinbr...@gmail.com wrote: operating system Windows 7 matplotlib version : 1.1.0 obtained from sourceforge the class seems to generate the same Wt matrix for every

Re: [Matplotlib-users] Pixel marker - colour problem

2012-05-04 Thread Warren Weckesser
On Fri, May 4, 2012 at 5:44 AM, Cumberland, Burly burly.cumberl...@coherent.com wrote: Hi, Just recently upgraded to Matplotlib 1.1.0 from 1.0.1. I make significant use of the pixel marker in plot. For instance: plt.plot(self.dat.duration, self.dat.fmpwr, 'b,', label=Power,

[Matplotlib-users] Fwd: How to remove vertical lines when plotting rotating phase

2012-04-04 Thread Warren Weckesser
Forwarding an email that I sent directly to Nikolaus. (I think every other mailing list that I used defaults to something like Reply to list or Reply to all.) Warren -- Forwarded message -- From: Warren Weckesser warren.weckes...@enthought.com Date: Wed, Apr 4, 2012 at 11:18 AM

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

2012-02-04 Thread Warren Weckesser
On Mon, Jan 23, 2012 at 3:19 PM, Paul Ivanov pivanov...@gmail.com wrote: Paul Ivanov, on 2012-01-23 13:07, wrote: the quick and dirty way to get close to what you want is to add an alpha value to the lines you're already plotting. Here's a small example: x = np.arange(0,3,.01) y

Re: [Matplotlib-users] [SciPy-User] matplotlib: Simple legend code no longer works after upgrade to Ubuntu 11.10

2011-12-13 Thread Warren Weckesser
On Mon, Dec 12, 2011 at 7:05 PM, C Barrington-Leigh cpblpub...@gmail.comwrote: Oops; I just posted this to comp.lang.python, but I wonder whether matplotlib questions are supposed to go to scipy-user? How about matplotlib-users@lists.sourceforge.net? I've cc'ed to that list. Warren

[Matplotlib-users] Fwd: Upgraded to 1.1.0, now only line graphs work!

2011-11-13 Thread Warren Weckesser
I meant to send this to the list yesterday, but I just noticed I sent it only to Ben. For completeness, here it is... -- Forwarded message -- From: Warren Weckesser warren.weckes...@enthought.com Date: Sat, Nov 12, 2011 at 8:45 PM Subject: Re: [Matplotlib-users] Upgraded

Re: [Matplotlib-users] Define minimum precision for tick labels

2011-08-19 Thread Warren Weckesser
On Fri, Aug 19, 2011 at 3:12 AM, André Dankert andre.dank...@googlemail.com wrote: Hi, I have a minor style problem, but, nevertheless, I can't solve it with googles help. I want to have a minimum precision displayed on my ticks, i.e. if the ticks are -1,-0.5,0,0.5,1 it should be displayed

Re: [Matplotlib-users] plot with discontinuous x-axis

2011-08-01 Thread Warren Weckesser
On Thu, Jul 28, 2011 at 5:41 AM, denoise hubert.g...@partner.bmw.de wrote: Hi there, i'd like to plot a data series with signal values over timestamps, what works perfectly. But if I want to display 2 series with different time domains, theres a gap in between. For example my first set of

Re: [Matplotlib-users] broken demo

2011-06-26 Thread Warren Weckesser
On Sun, Jun 26, 2011 at 7:44 PM, Benjamin Root ben.r...@ou.edu wrote: On Sunday, June 26, 2011, Carl Karsten c...@personnelware.com wrote: http://matplotlib.sourceforge.net/examples/api/radar_chart.html Exception occurred rendering plot. Without more information, we can't help you.

[Matplotlib-users] Spooky side effects of Axes3D

2011-03-27 Thread Warren Weckesser
I'm using matplotlib 1.0.1. I have the following simple script to plot a surface: - from numpy import linspace, sin, cos, meshgrid from matplotlib.pyplot import figure, show, xlabel, ylabel from matplotlib import cm from mpl_toolkits.mplot3d import Axes3D n = 35 x = linspace(-5, 5, n) y =

Re: [Matplotlib-users] Spooky side effects of Axes3D

2011-03-27 Thread Warren Weckesser
On Sun, Mar 27, 2011 at 8:25 PM, Angus McMorland amcm...@gmail.com wrote: On 27 March 2011 20:47, Warren Weckesser warren.weckes...@enthought.com wrote: I'm using matplotlib 1.0.1. I have the following simple script to plot a surface: - from numpy import linspace, sin, cos

Re: [Matplotlib-users] Stacked Bar Chart Question in matplotlib 1.0.0

2011-03-23 Thread Warren Weckesser
On Wed, Mar 23, 2011 at 8:43 AM, Sean Lake odysseus9...@gmail.com wrote: Hello all, I need to draw different hatch styles on the different groups of a stacked bar chart in order to make a figure that works properly in black and white. The devil is, I can't figure out how to do it. When I

Re: [Matplotlib-users] Aspect ratio of a circle

2011-03-09 Thread Warren Weckesser
On Wed, Mar 9, 2011 at 8:15 AM, Mads Ipsen madsip...@gmail.com wrote: Here is a script (below). I want the blue circle to appear as a circle with a 1:1 aspect ratio, making it look like a circle and not an ellipse. Just like the scale free circles making up the curve of the damped

[Matplotlib-users] MPL 0.91.2: bottom of xlabel chopped off

2008-08-12 Thread Warren Weckesser
Hi, Sorry if this is in a FAQ somewhere--my initial attempts to find a solution have failed. I am using matplotlib version 0.91.2. When I use savefig to create a plot in which the xlabel text has any kind of descender (e.g. $x_1$, or even simply a j), the lower part of the label is chopped off