[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 be

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 wrote: > 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") still pro

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 wrote: > > > -- > *From:* Damon McDougall > *To:* Michael Rawlins > *Cc:* "matplotlib-users@lists.sourceforge.net" < > matplotlib-users@lists.sourceforge.net> > *Sent:* Saturday, August 25, 2012 4:21 AM > *Subject:* R

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 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 calling plot with an 'o' mar

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 wrote: > On Mon, Jun 11, 2012 at 11:03 PM, Justin R wrote: > > operating system Windows 7 > > matplotlib version : 1.1.0 > > obtained from sourceforge > > > > the class seems to generate the same Wt matrix for every input. The > > every element of th

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 Date: Wed, Apr 4, 2012 at 11:18 AM Subj

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

2012-02-04 Thread Warren Weckesser
On Mon, Jan 23, 2012 at 3:19 PM, Paul Ivanov 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 = np.si

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 wrote: > 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 > Here it is: > """ > B

[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 Date: Sat, Nov 12, 2011 at 8:45 PM Subject: Re: [Matplotlib-users] Upgraded to 1.1.0, now only line graphs work

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 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 this way instead of > -1.

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

2011-08-01 Thread Warren Weckesser
On Thu, Jul 28, 2011 at 5:41 AM, denoise 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 data is from time (x)

Re: [Matplotlib-users] broken demo

2011-06-26 Thread Warren Weckesser
On Sun, Jun 26, 2011 at 7:44 PM, Benjamin Root wrote: > On Sunday, June 26, 2011, Carl Karsten wrote: > > http://matplotlib.sourceforge.net/examples/api/radar_chart.html > > > > "Exception occurred rendering plot." > > > > Without more information, we can't help you. What version of > matplotli

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 wrote: > On 27 March 2011 20:47, Warren Weckesser > wrote: > > I'm using matplotlib 1.0.1. I have the following simple script to plot a > > surface: > > > > - > > from numpy import linspace, sin, cos

[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 = l

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 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 pass the hatch option

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 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 oscillationsn also shown

Re: [Matplotlib-users] Set MPLCONFIGDIR to something different

2008-08-18 Thread Warren Weckesser
I meant to send this to the list, not just to Brent... -- Forwarded message -- From: Warren Weckesser <[EMAIL PROTECTED]> Date: Mon, Aug 18, 2008 at 4:03 PM Subject: Re: [Matplotlib-users] Set MPLCONFIGDIR to something different To: Brent Pedersen <[EMAIL PROTECTED]>

[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