[Matplotlib-users] Matplotlib hangout today

2013-11-14 Thread Damon McDougall
The matplotlib calendar claims there is a hangout today, but I can't find an invite on Google+. Am I missing something or was it cancelled? -- Damon McDougall http://www.damon-is-a-geek.com Institute for Computational Engineering Sciences 201 E. 24th St. Stop C0200 The University of Tex

Re: [Matplotlib-users] Tutorial on perceptual colormaps

2014-08-06 Thread Damon McDougall
work Kristen as done with matplotlib colour maps, from the matplotlib web page. Would you be amenable to this? All the best, Damon -- Damon McDougall http://www.damon-is-a-geek.com Institute for Computational Engineering Sciences 201 E. 24th St. Stop C0

Re: [Matplotlib-users] invisible plot

2009-07-15 Thread Damon McDougall
Hi Phillip, Don't you need to call pyplot.show() at the end of the script? Regards, --Damon On 15 Jul 2009, at 22:58, Dr. Phillip M. Feldman wrote: > > I'm a newbie to matplotlib. When I try to generate a simple plot, > nothing > happens. Any advice will be appreciated. Here's my code: >

[Matplotlib-users] Confused about get_tightbbox() and renderer

2009-08-12 Thread Damon McDougall
Hello all, So I'm trying to use matplotlib's OO interface (so programming without using 'from pylab import *') and found this useful page:http://matplotlib.sourceforge.net/leftwich_tut.txt after much googling. My problem is that, in general, after producing a plot, I would open the .pdf p

Re: [Matplotlib-users] Confused about get_tightbbox() and renderer

2009-08-12 Thread Damon McDougall
Sorry, I forgot to use a sensible subject for the email! Regards, --Damon On 12 Aug 2009, at 16:35, Damon McDougall wrote: Hello all, So I'm trying to use matplotlib's OO interface (so programming without using 'from pylab import *') and found t

Re: [Matplotlib-users] Confused about get_tightbbox() and renderer

2009-08-12 Thread Damon McDougall
ou posted does not use Subplot, but > it can be easily modified). > > http://matplotlib.sourceforge.net/faq/howto_faq.html?#automatically-make-room-for-tick-labels > > -JJ > > > > > On Wed, Aug 12, 2009 at 11:35 AM, Damon > McDougall wrote: >> Hello all, &g

Re: [Matplotlib-users] error locating backends module

2009-09-14 Thread Damon McDougall
Forgot to cc this to the list, sorry about that. Hi Jeff, You don't happen to be in the same directory as a folder called 'matplotlib' when trying to import matplotlib.backends, do you? If so, try moving to a different directory before invoking python and importing matplotlib.backends. R

[Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Damon McDougall
Hi All, After having installed Snow Leopard (10.6), I got some silly errors with libraries (installed via Macports) using deprecated functions Apple no longer supports, so I trashed the whole of Macports and reinstalled it. I then installed py25-matplotlib and get the following error messa

Re: [Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Damon McDougall
t.cache doesn't exist. In fact, the ~/.matplotlib directory is empty, there aren't even any hidden files. On my other computer, matplotlib works fine and the ~/.matplotlib directory contains three files: fontList.cache, fontManager.cache and tex.cache. Hope this explains more. Tha

Re: [Matplotlib-users] Strange error after installing matplotlib from macports

2009-09-15 Thread Damon McDougall
much, Jouni! Regards, --Damon On 15 Sep 2009, at 12:49, Jouni K. Seppänen wrote: > Damon McDougall writes: > >> (Pdb) p fh >> > That's a font that probably came with a TeX distribution and somehow > got > installed in your font library. > >> (Pdb)

Re: [Matplotlib-users] quiver without any scaling

2009-11-22 Thread Damon McDougall
Hi Xavier, You can pass some handy keyword arguments to fix that. Use the following: quiver([1],[1],[1.2],[1.2], angles='xy', scale_units='xy', scale=1) Hope that helps :) Regards, -- Damon ------ Damon McDougall Mathematics Institute University of

Re: [Matplotlib-users] quiver without any scaling

2009-11-23 Thread Damon McDougall
lar transformations; automatically expanding. ymin=%s, ymax=%s'%(ymin, ymax)) is this correct, or is it a bug? I'm using "ipython -pylab" with the MacOSX backend. I was expecting axis('tight') would scale the axes so I could see the whole arrow. Regards, -- Damon

Re: [Matplotlib-users] quiver without any scaling

2009-11-24 Thread Damon McDougall
Hi Xavier, I'm sorry. As I don't know a great deal about the nuts and bolts of matplotlib, I don't think I'm well enough equipped to answer your question. Perhaps someone else on this list can help out? Regards, -- Damon ------ Damon McDougall M

Re: [Matplotlib-users] Simple text style question

2010-01-11 Thread Damon McDougall
Hi Gökhan, Do you have usetex=True set? If so, have you tried the LaTeX command sequence \color{red}{Red text goes here} ? Regards, -- Damon -- Damon McDougall Mathematics Institute University of Warwick Coventry CV4 7AL d.mcdoug...@warwick.ac.uk On 11 Jan 2010, at 05

Re: [Matplotlib-users] newbie question: type check?

2010-01-12 Thread Damon McDougall
ormation. Hope that helps. Regards, -- Damon ------ Damon McDougall Mathematics Institute University of Warwick Coventry CV4 7AL d.mcdoug...@warwick.ac.uk On 12 Jan 2010, at 10:40, Nico Schlömer wrote: > Hm. > > print type( gca() ) > print gca()._

Re: [Matplotlib-users] Remove the white padding from a figure

2010-01-14 Thread Damon McDougall
Hi Ronald, I use: fig.savefig('graph.eps', bbox_inches='tight', pad_inches=0.03) Play with the parameters and see what you like. Hope that helps. Regards, -- Damon ------ Damon McDougall Mathematics Institute University of Warwick Coven

[Matplotlib-users] [matplotlib-users] Figure dimensions issues

2010-01-18 Thread Damon McDougall
there another way around this that will get rid of the whitespace and have the physical figure be 483.69687pt wide? Any help would be greatly appreciated. Regards, -- Damon -- Damon McDougall Mathematics Institute University of Warwick Coventry CV4 7AL d.mcdoug...@warwick.a

[Matplotlib-users] Axes.fill_between() for two arbitrary curves

2012-04-16 Thread Damon McDougall
with the 'where' kwarg to no avail. Since they are not circles, I figured this is a no-go with the current matplotlib Axes.* functions. Is my best bet to build a PolyCollection or a matplotlib.patch and add it to the axes myself? Any help is greatly appreciated. Thank you. --

Re: [Matplotlib-users] Bug in Triangulation causes infinite loop if 4 or more duplicate points are used in tricontour()

2012-04-16 Thread Damon McDougall
Hi Kacper, Just to be clear, is it tri.Triangulation(x, y) that hangs, or is it plt.tricontour(…)? -- Damon McDougall d.mcdoug...@warwick.ac.uk (mailto:d.mcdoug...@warwick.ac.uk) http://damon.is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United

Re: [Matplotlib-users] Bug in Triangulation causes infinite loop if 4 or more duplicate points are used in tricontour()

2012-04-16 Thread Damon McDougall
On Monday, 16 April 2012 at 16:34, Kacper Kowalik wrote: > > On 16 Apr 2012 22:31, "Damon McDougall" (mailto:d.mcdoug...@warwick.ac.uk)> wrote: > > > > Hi Kacper, > > > > Just to be clear, is it tri.Triangulation(x, y) that hangs, or is it > >

Re: [Matplotlib-users] [matplotlib-users] How to plot digamma function (psi)

2012-07-10 Thread Damon McDougall
port * x = linspace(0.5, 2, num=100, endpoint=True) y = special.polygamma(0, (1/2 + 1/x)) plot(x, y) show() You can compare output against this: http://www.wolframalpha.com/input/?i=digamma%281%2F2+%2B+1%2Fx%29+between+0.5+and+2 Hope this helps. -- Damon McDougall http://damon-is-a-geek.com B2.39 Mat

Re: [Matplotlib-users] [matplotlib-users] How to plot digamma function (psi)

2012-07-10 Thread Damon McDougall
On Tue, Jul 10, 2012 at 08:57:24AM -0400, Benjamin Root wrote: > On Tue, Jul 10, 2012 at 7:05 AM, Damon McDougall > wrote: > > > On Tue, Jul 10, 2012 at 12:27:59PM +0200, Fabien Lafont wrote: > > > > > But It returns zero division error even when x is in ]0,1] > &

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-10 Thread Damon McDougall
> >> enhancements: > >> > >> - Alex Arsenovic > >> - Guillaume Calmettes > >> - Huy Nguyen > >> - Sergey Karayev > >> > >> Special thanks to Alex, who came up with an early implementation of > >> stylesheets that starte

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread Damon McDougall
On Tue, Jul 10, 2012 at 05:36:50PM -0400, Tony Yu wrote: > On Tue, Jul 10, 2012 at 1:52 PM, John Hunter wrote: > > > > > On Tue, Jul 10, 2012 at 12:49 PM, Damon McDougall < > > damon.mcdoug...@gmail.com> wrote: > > > >> > >> Would there be a

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread Damon McDougall
On Wed, Jul 11, 2012 at 10:23:32AM -0500, John Hunter wrote: > On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall > wrote: > > > > Well, as Ben said, that error fill plot is neato! It doesn't look too > > complicated, either. I'd be more than happy to port it ove

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-12 Thread Damon McDougall
On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > > > > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > > > >> > >> > >> On Wed, Jul 11, 2012 at 10:09 AM

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-12 Thread Damon McDougall
On Thu, Jul 12, 2012 at 09:41:32AM -0400, Tony Yu wrote: > On Thu, Jul 12, 2012 at 9:28 AM, Damon McDougall > wrote: > > > On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: > > > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > > > > &g

Re: [Matplotlib-users] Font in figures

2012-07-12 Thread Damon McDougall
e security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users Hi David, Have you set usetex=True in your r

Re: [Matplotlib-users] histogram scaling

2012-07-12 Thread Damon McDougall
_ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users +1. I think this adds more flexbility to the current histogram implementation. I wonder whether this would be worth a

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-12 Thread Damon McDougall
On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > > > > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > > > >> > >> > >> On Wed, Jul 11, 2012 at 10:09 AM

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-13 Thread Damon McDougall
On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > > > > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > > > >> > >> > >> On Wed, Jul 11, 2012 at 10:09 AM

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread Damon McDougall
-date-annoyances > is critical as I'm on a diet and trying to plot my weight loss against > date :) > Good luck :) > -- > Cheers. > > Mark Lawrence. > -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread Damon McDougall
l04242012/114/50122263/ > > > > You are correct, why did I say histogram when I've been looking at my > own code that plots bars? Just shows that a beer free diet is no good > for you :) Let's try again, is it possible to directly > plot a bar chart with a date

Re: [Matplotlib-users] path effects question

2012-07-14 Thread Damon McDougall
would argue that the shadow's alpha should equal the patch's alpha. The > more opaque the patch, the less light that should get through. Could there I am inclined to agree here. Should it instead be: gc0.set_alpha(self._patch_

Re: [Matplotlib-users] [matplotlib-devel] ANN: mpltools 0.1 release

2012-07-17 Thread Damon McDougall
On Tue, Jul 17, 2012 at 08:21:50AM -0500, Benjamin Root wrote: > On Tue, Jul 17, 2012 at 6:25 AM, todd rme wrote: > > > On Wed, Jul 11, 2012 at 5:23 PM, John Hunter wrote: > > > > > > > > > On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall > > &g

Re: [Matplotlib-users] Combining 4 plots into one figure

2012-07-19 Thread Damon McDougall
nclude endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.n

Re: [Matplotlib-users] Combining 4 plots into one figure

2012-07-19 Thread Damon McDougall
style. If so, I recommend using that over RevTex. That would potentially solve your package conflict. > > If this doesn't work I suppose there is always just manually creating a new > file with Inkscape and adding the a), b), c), and d) labels manually in > there. > > Thanks

Re: [Matplotlib-users] [matplotlib-users] How to switch colormaps

2012-07-20 Thread Damon McDougall
more colors to differenciate > the curves. > Sure. Here's an example I cooked up for you: https://gist.github.com/3150091 Hope that helps. > > Is it possible? > > Fabien -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick

[Matplotlib-users] 2D Quiver in Axes3D

2012-07-20 Thread Damon McDougall
of a contour plot on the (x, y)-plane, I want a quiver plot there. Any ideas? Thank you :) -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Ki

Re: [Matplotlib-users] 2D Quiver in Axes3D

2012-07-20 Thread Damon McDougall
On Fri, Jul 20, 2012 at 10:12:43AM -0500, Benjamin Root wrote: > On Fri, Jul 20, 2012 at 8:50 AM, Damon McDougall > wrote: > > > Howdy all, > > > > Not sure if I'm being a giant noob, but is there any way to plot a > > vector field (a la quiver) on the

Re: [Matplotlib-users] Possible to change MPL color scheme?

2012-07-23 Thread Damon McDougall
t; will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourcefo

Re: [Matplotlib-users] How to plot only a legend?

2012-07-26 Thread Damon McDougall
lusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > __

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

2012-08-08 Thread Damon McDougall
> do the same thing with alpha values? > > > You can use a colormap with varying alpha values. Would it be possible to do something like ax.plot(x, y, color=[c1, c2, c3], alpha=[a1, a2, a3])? It doesn't seem that it's supported and that would be the 'natural' extensio

Re: [Matplotlib-users] help me Velocity depth plot in matplotlib

2012-08-10 Thread Damon McDougall
this helps. > > see the figure > > Thank you > > -- > > > *Satish Maurya* > *Research Scholar* > ~~~~ > -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathem

Re: [Matplotlib-users] New tutorial (beginner level)

2012-08-10 Thread Damon McDougall
code snippets are being > placed on top of the example image. > I see this behaviour too, on Chrome, version 20.0.1132.57. Tutorial looks nice, though :) -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United

Re: [Matplotlib-users] help me Velocity depth plot in matplotlib

2012-08-10 Thread Damon McDougall
On Fri, Aug 10, 2012 at 12:47:22PM +0100, Damon McDougall wrote: > On Fri, Aug 10, 2012 at 02:09:39PM +0530, satish maurya wrote: > > Dear All, > > > > I want to stairs plot (similar in matlab) matplotlib > > First i want for i data-set then multiple data-set super i

Re: [Matplotlib-users] Stride size in mplot3d

2012-08-13 Thread Damon McDougall
0x100, say, then setting rstride=5 and cstride=5 will plot every 5th row and every 5th column, giving 20 lines in each direction. The kwargs rstride and cstride do not care about the domain of your data. Hope this helps. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institu

Re: [Matplotlib-users] problem with png image

2012-08-22 Thread Damon McDougall
,2) > plot(np.random.rand(10),'o') > pic_name='fit_rates2.png' > path_name='/home/petro/tmp/' > plt.savefig(path_name + pic_name) > What backend are you using? print plt.get_backend() -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Ma

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

2012-08-24 Thread Damon McDougall
ithout a black edge. > > Lastly, it's not clear to me if I should be using plt.plot or just plot. Both > work, and I don't know the difference. If you're using pylab, it doesn't matter: In [5]: print plot In [6]: print plt.plot They are *literall

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

2012-08-24 Thread Damon McDougall
On Fri, Aug 24, 2012 at 09:20:47PM +0100, Damon McDougall wrote: > Hey Michael! > > Welcome :) > > On Fri, Aug 24, 2012 at 01:00:13PM -0700, Michael Rawlins wrote: > > > > Relatively new user here. I need to place a series of white colored dots on > > a map. I

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

2012-08-25 Thread Damon McDougall
On Fri, Aug 24, 2012 at 02:39:12PM -0700, Michael Rawlins wrote: > > > > > ____ > From: Damon McDougall > To: Michael Rawlins > Cc: "matplotlib-users@lists.sourceforge.net" > > Sent: Friday, August 24, 2012 4:22 PM >

Re: [Matplotlib-users] for a log y axis, set_major_formatter then twiny() removes the set_major_formatter

2012-08-25 Thread Damon McDougall
; >___ > >Matplotlib-users mailing list > >Matplotlib-users@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > ------ &g

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

2012-08-25 Thread Damon McDougall
On Sat, Aug 25, 2012 at 07:59:52AM -0700, Michael Rawlins wrote: > > From: Damon McDougall > To: Michael Rawlins > Cc: "matplotlib-users@lists.sourceforge.net" > > Sent: Saturday, August 25, 2012 4:21 AM > Subject: Re: [Matpl

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote: > Hello, > > Do you know to change the size of the numbers under the axis? > import matplotlib matplotlib.rcParams['axes.labelsize'] = 12.0 Hope this helps. -- Damon McDougall http://www.damon-is-a-geek

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
On Thu, Aug 30, 2012 at 12:04:48PM -0400, Benjamin Root wrote: > On Thu, Aug 30, 2012 at 11:58 AM, Fabien Lafont > wrote: > > > There is no effect... > > > > > > 2012/8/30 Damon McDougall > > > >> On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
See rcParams.keys() for a list of valid parameters.' % (key,)) > KeyError: 'xticks.labelsize is not a valid rc parameter.See rcParams.keys() > for a list of valid parameters.' > It's actually 'xtick.labelsize'. No 's'. -- Damon McDougall ht

Re: [Matplotlib-users] How to change the size of the numbers under the axis

2012-08-30 Thread Damon McDougall
e > axe and matplotlib.rcParams['xticks. > labelsize'] = 12.0 ?? > Wait a minute. What exactly are you trying to do? -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute Universi

Re: [Matplotlib-users] how to avoid import backend in the batch job?

2012-09-03 Thread Damon McDougall
just make a copy before you change it: cd ~/.matplotlib cp matplotlibrc matplotlibrc_orig then edit matplotlibrc. Just rename matplotlibrc_orig back to matplotlibrc when you're done. -- Damon McDougall http://www.damon.is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry

Re: [Matplotlib-users] how to avoid import backend in the batch job?

2012-09-03 Thread Damon McDougall
the window interactively, but when I use script, it also > works :P > That's an awesome idea. Glad it's working now. > Chao > > > On Mon, Sep 3, 2012 at 8:13 PM, Damon McDougall > wrote: >> >> On Mon, Sep 3, 2012 at 6:08 PM, Chao YUE wrote: >>

Re: [Matplotlib-users] legend(loc='best') not so great

2012-09-11 Thread Damon McDougall
how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net

Re: [Matplotlib-users] legend(loc='best') not so great

2012-09-12 Thread Damon McDougall
On Wed, Sep 12, 2012 at 5:57 PM, Aronne Merrelli wrote: > On Tue, Sep 11, 2012 at 10:49 AM, Damon McDougall > wrote: >> On Tue, Sep 11, 2012 at 3:34 PM, Neal Becker wrote: >>> OK, I've attached my sanitized example >>> >> >> ImportError: No module

Re: [Matplotlib-users] linestyles in matplotlib.pyplot.plot

2012-09-12 Thread Damon McDougall
ing) > > What if I want to have more linestyles? Say, ++, **, xx, ~~, etc. Is it > possible to have user-defined linestyles? How? > User-defined line styles is difficult. There is an open github issue on this topic: https://github.com/matplotlib/matplotlib/issues/346 Though, porting

[Matplotlib-users] John Hunter awarded PSF's Distinguished Service Award

2012-09-14 Thread Damon McDougall
der to the immense effort of John and the matplotlib developers over the past decade. Best, Damon -- Damon McDougall http://www.damon.is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL Unit

Re: [Matplotlib-users] overwriting suptitle?

2012-09-18 Thread Damon McDougall
: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/list

Re: [Matplotlib-users] netcdf4-python build

2012-09-21 Thread Damon McDougall
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7663000) > libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb74be000) > /lib/ld-linux.so.2 (0xb7766000) > > no libhdf5 there. Can this be fixed? > > MR > > > > >From what I remember dealing with the netcdf c

Re: [Matplotlib-users] install problem on OSX 10.8

2012-09-21 Thread Damon McDougall
led in the default location: > python setup.py install #--prefix=$PREFIX > cd .. > > Thanks, > > -Ranjit > > I'm not sure 10.8 supports 32-bit machines at all. Apple even dropped support for some 64-bit machines in the 10.8 release. -- Damon McDougall http://www.damon

Re: [Matplotlib-users] Tex-style factorial ! in legend

2012-09-25 Thread Damon McDougall
elsewhere. Any ideas? > Looks fine to me. Do you have rcParams['text.usetex']=True? -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -

Re: [Matplotlib-users] resolution on plotting for "retina" displays?

2012-09-25 Thread Damon McDougall
't Eric have a retina display mac? Eric, do you see this behaviour? Screenshots would be a real help here as extra information to diagnose the problem. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdo

[Matplotlib-users] How to remove an element from cbook.Grouper()

2012-09-25 Thread Damon McDougall
Hi, I'm playing with cbook.Grouper(), and I see that join() adds elements. How do I remove elements? Best, Damon -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Ki

Re: [Matplotlib-users] bug with bar graph when plotting zero values?

2012-09-27 Thread Damon McDougall
lim yourself after plotting? It's not ideal, but does it help? Like Ben said, the bbox should account for all possible bar locations, regardless of height, for this to behave as expected. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Cove

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Damon McDougall
ng used? >> So what is it for? >> >> Best regards, >> Michael >> >> > > Confirmed. I don't see imlim anywhere except in the imshow() signature. I > have no recollection of this parameter, so it might be from before my time. > > Ben Root Is th

[Matplotlib-users] Fwd: imlim in ax.imshow

2012-10-02 Thread Damon McDougall
Forgot to reply all. Sorry. -- Forwarded message -- From: Damon McDougall Date: Tue, Oct 2, 2012 at 7:09 PM Subject: Re: [Matplotlib-users] imlim in ax.imshow To: "K.-Michael Aye" On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Aye wrote: > > > On Oct 2, 2012

Re: [Matplotlib-users] X Window System error

2012-10-02 Thread Damon McDougall
/ >> > / >> > / >> > / >> > /#function to auto-rotate the x axis labels/ >> > /fig.autofmt_xdate()/ >> > /plt.setp(ax.get_xticklabels(), fontsize=8, rotation='vertical')/ >> > /plt.show()/ &g

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Damon McDougall
On Tue, Oct 2, 2012 at 8:00 PM, K.-Michael Aye wrote: > > On Oct 2, 2012, at 11:09 AM, Damon McDougall > wrote: > >> On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Aye >> wrote: >>> >>> >>> On Oct 2, 2012, at 6:33 AM, Damon McDougall >>&

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Damon McDougall
On Tue, Oct 2, 2012 at 8:07 PM, K.-Michael Aye wrote: > > On Oct 2, 2012, at 12:06 PM, Damon McDougall > wrote: > >> On Tue, Oct 2, 2012 at 8:00 PM, K.-Michael Aye >> wrote: >>> >>> On Oct 2, 2012, at 11:09 AM, Damon McDougall >>> wrote:

Re: [Matplotlib-users] imlim in ax.imshow

2012-10-02 Thread Damon McDougall
s happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourcefo

Re: [Matplotlib-users] XKCD style graphs?

2012-10-04 Thread Damon McDougall
atplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > I believe this is in your interests: http://i.imgur.com/5XwRO.png Here's the code: https://gist.github.com/3832579 Disclaimer: The code is u

Re: [Matplotlib-users] XKCD style graphs?

2012-10-04 Thread Damon McDougall
On Thu, Oct 4, 2012 at 10:44 AM, Damon McDougall wrote: > On Thu, Oct 4, 2012 at 10:02 AM, Pierre Haessig > wrote: >> Hi Fernando, >> >> Le 04/10/2012 09:16, Fernando Perez a écrit : >>> This would make for an awesome couple of examples for the gallery, the >

Re: [Matplotlib-users] XKCD style graphs?

2012-10-04 Thread Damon McDougall
t, > Pierre Adding Gaussian noise to each point on a function doesn't look nice. That's why I produced a random function in Fourier space first. That way, random functions still have some sense of smoothness. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institu

Re: [Matplotlib-users] XKCD style graphs?

2012-10-04 Thread Damon McDougall
t; Also, X and Y of the functions are affected now, giving them a more "natural" > look in the slopes. > >Juergen I think I actually prefer your output over mine :) Nice job. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of War

Re: [Matplotlib-users] XKCD style graphs?

2012-10-05 Thread Damon McDougall
've attached the before/after images because I didn't manage to put >>> them in the Gist (it's not a plot image but gives the idea of line shaking). >>> >>> Now, I think it's unfortunately outside the frame of Fernando's >>> challenge, bec

Re: [Matplotlib-users] Problem with shared axis

2012-10-05 Thread Damon McDougall
gt; Jianbao This was the first hit in a google search: http://stackoverflow.com/questions/4209467/matplotlib-share-x-axis-but-dont-show-x-axis-tick-labels-for-both-just-one -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL Un

Re: [Matplotlib-users] Matplotlib produced plots in academic journal articles

2012-10-05 Thread Damon McDougall
n to see sample output when we have a gallery section? Better still would be to have an 'academic gallery' section. Perhaps this could be part of the gallery re-work someone was going to do (was it Tony? I forget). I don't know. I think the idea is good, but I think there needs to b

Re: [Matplotlib-users] Matplotlib produced plots in academic journal articles

2012-10-05 Thread Damon McDougall
gt; But a site like that makes it really appealing to people. > > Thanks for that link, Nelle! Yes, that site was *full* of eye-candy. It's maybe a bit over the top, but it's certainly a good reference. -- Damon McDougall http://www.damon-is-a-ge

Re: [Matplotlib-users] Matplotlib produced plots in academic journal articles

2012-10-05 Thread Damon McDougall
t; alternative gallery page. The figures you linked look shinny but not much > practical use in my field. Point taken on the context argument. I'll take that. To resolve it, make the figure/html image link to the underlying publication? -- Damon McDougall http://www.damon-is-a-geek.c

Re: [Matplotlib-users] Matplotlib produced plots in academic journal articles

2012-10-05 Thread Damon McDougall
On Fri, Oct 5, 2012 at 8:58 PM, Gökhan Sever wrote: > > > On Fri, Oct 5, 2012 at 1:23 PM, Damon McDougall > wrote: >> >> On Fri, Oct 5, 2012 at 8:11 PM, Gökhan Sever >> wrote: >> > Seeing mpl produced plots would be only 1 or 2 clicks away, plus this >

Re: [Matplotlib-users] automating-xkcd-diagrams-transforming-serious-to-funny

2012-10-05 Thread Damon McDougall
On Fri, Oct 5, 2012 at 11:18 PM, Neal Becker wrote: > http://blog.wolfram.com/2012/10/05/automating-xkcd-diagrams-transforming- > serious-to-funny/ > > I wonder if mpl has anything along these lines? https://github.com/matplotlib/matplotlib/pull/1329 -- Damon McDougall http://ww

Re: [Matplotlib-users] But report: Date axis formatter problem

2012-10-08 Thread Damon McDougall
.set_major_formatter(formatter) # Won't work immediately. > locator.set_axis(ax.xaxis) # Have to manually make this call and the one > below. > locator.refresh() # Another manual call. > fig.canvas.draw() > # end of code > --

Re: [Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Damon McDougall
»Time flies like an arrow, fruit flies like a Banana.« > > PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C I'm using the AGG backend and saving to a png file without any problems, but I'm using the current git master branch. I'll try to see if I can recreat

Re: [Matplotlib-users] Corrupted percent signs in labels

2012-10-09 Thread Damon McDougall
On Tue, Oct 9, 2012 at 10:56 PM, Damon McDougall wrote: > On Tue, Oct 9, 2012 at 10:32 PM, Nikolaus Rath wrote: >> Hello, >> >> For some reason, my matplotlib isn't able to print percent signs ('%') >> properly: >> >> [1] inspiron:

Re: [Matplotlib-users] data grid problem

2012-10-11 Thread Damon McDougall
ean. Can you attach an image of > the plot you made so far? > > Ben Root I'm not sure if adding a patch autoscales the view, try rect = Rectangle((50, 3), 10, 20, facecolor="#aa") ax.add_patch(rect) ax.set_xlim(0, 100) ax.set_ylim(0, 25) -- Damon McDougall http://www

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Damon McDougall
pytz: matplotlib will provide > > Will dateutil be shipped with mpl or this line needs to be updated? > > Thanks. > > > -- > Gökhan Gökhan, did you implement the symlink fix? If so, would you mind making a pull request out of

Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Damon McDougall
crosecond resolution is too slow?" > "Yes, too slow. We must use nanosecond resolution!" > "Prep-- Prepare Python, for nanosecond resolution!" > > Cheers! > Ben Root Am I missing something here? Are seconds just floats internally? A delta of 1e-6 is nothing (

Re: [Matplotlib-users] data grid problem

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 1:52 PM, Benjamin Root wrote: > > > On Thursday, October 11, 2012, Damon McDougall wrote: >> >> On Wed, Oct 10, 2012 at 3:55 PM, Benjamin Root wrote: >> > >> > >> > On Wed, Oct 10, 2012 at 9:40 AM, rand0m wrote: >> &

Re: [Matplotlib-users] dpi

2012-10-11 Thread Damon McDougall
rised image embedded in a figure with vector text and tickmarks and labels, for example. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL Uni

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Damon McDougall
On Thursday, October 11, 2012, Gökhan Sever wrote: > > > On Thu, Oct 11, 2012 at 3:49 AM, Damon McDougall < > damon.mcdoug...@gmail.com 'damon.mcdoug...@gmail.com');>> wrote: > >> >> Gökhan, did you implement the symlink fix? If so, would you mind

Re: [Matplotlib-users] Pylab import error due to dateutil

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 9:25 PM, Gökhan Sever wrote: > I am not sure about that technical detail, but it works fine here on my > Fedora 16 (x86_64) system. > > > On Thu, Oct 11, 2012 at 11:04 AM, Damon McDougall > wrote: >> >> >> >> On Thur

Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Damon McDougall
On Thursday, October 11, 2012, Benjamin Root wrote: > > > On Thu, Oct 11, 2012 at 4:53 PM, Mark Lawrence > 'breamore...@yahoo.co.uk');> > > wrote: > >> On 11/10/2012 10:55, Damon McDougall wrote: >> > On Wed, Oct 10, 2012 at 5:00 PM, Benjamin Roo

[Matplotlib-users] Fwd: color pallette suggestions wanted

2012-10-12 Thread Damon McDougall
Forgot to reply all. -- Forwarded message -- From: *Damon McDougall* Date: Friday, October 12, 2012 Subject: [Matplotlib-users] color pallette suggestions wanted To: Andreas Hilboll On Fri, Oct 12, 2012 at 10:17 AM, Andreas Hilboll > wrote: > Hi, > > I have some da

Re: [Matplotlib-users] setupegg.py modifies sys.path?

2012-10-15 Thread Damon McDougall
On Mon, Oct 15, 2012 at 7:22 PM, Benjamin Root wrote: > > > On Mon, Oct 15, 2012 at 2:11 PM, Damon McDougall > wrote: >> >> I tried a `python setupegg.py develop` to diagnose a bug for someone. >> Now my mpl git repo has magically appeared at the front of my >&g

  1   2   >