Re: [Matplotlib-users] Tutorial on perceptual colormaps

2014-08-06 Thread Damon McDougall
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 C0200 The University of Texas at Austin Austin, TX 78712-1229

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

Re: [Matplotlib-users] Reports from SciPy 2013

2013-07-03 Thread Damon McDougall
this part of the website. +1 -- Damon McDougall http://www.damon-is-a-geek.com Institute for Computational Engineering Sciences 201 E. 24th St. Stop C0200 The University of Texas at Austin Austin, TX 78712-1229 -- This SF.net

Re: [Matplotlib-users] Is there a 3D version of the quiver plot?

2013-03-07 Thread Damon McDougall
://p.sf.net/sfu/symantec-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Damon McDougall http://www.damon-is-a-geek.com Institute for Computational

Re: [Matplotlib-users] [matplotlib-devel] Matplotlib in daily life

2013-01-21 Thread Damon McDougall
/learnmore_122412 ___ Matplotlib-devel mailing list matplotlib-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Damon McDougall http://www.damon-is-a-geek.com Institute for Computational Engineering Sciences

Re: [Matplotlib-users] Undocumented transform API change between 1.1 and 1.2?

2012-12-17 Thread Damon McDougall
indicates that 1.2.0 is a development version. Perhaps we could update it to say: 1.2.0 The most current stable release. Click here to see what's new since 1.1.1 And have Click here link to the page Phil mentioned. Thoughts? -- Damon McDougall http://www.damon-is-a-geek.com Institute

Re: [Matplotlib-users] plot_surface does not work

2012-12-11 Thread Damon McDougall
better? Could we have plot_surface try and estimate the stride based on the 'roughness' of the surface to be plotted? This method would grind to a halt for very rough surfaces, so we could default to a scaling law in these cases. What does everyone think about this approach? -- Damon McDougall

Re: [Matplotlib-users] how to reverse the colorbar and its label at the same time?

2012-11-10 Thread Damon McDougall
= plt.colorbar(CS) cbar.ax.invert_yaxis() Does that produce the desired results? -p Or, you could plot -a instead of a. -- Damon McDougall http://www.damon-is-a-geek.com Institute for Computational Engineering Sciences 201 E. 24th St. Stop C0200 The University of Texas at Austin Austin, TX 78712-1229

Re: [Matplotlib-users] Plot data from file while is file is constantly updated

2012-11-08 Thread Damon McDougall
/matplotlib-users In bash: watch -n1 tail file.txt -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Everyone hates slow

Re: [Matplotlib-users] [matplotlib-devel] Delaying rc3 (again)

2012-10-30 Thread Damon McDougall
out a python code directory? Yes! I'm sending you a virtual high five! Thanks for thy Russell. -- 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] Histogram with overlapping bins

2012-10-20 Thread Damon McDougall
the problem of displaying the histogram. Which bin gets displayed over its left neighbour? And its right neighbour? I dread to think what this would imply if you also wanted to stack such histograms. A potential can of worms. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute

Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-20 Thread Damon McDougall
On Sat, Oct 20, 2012 at 11:37 PM, Benjamin Root ben.r...@ou.edu wrote: On Saturday, October 20, 2012, Damon McDougall wrote: On Sat, Oct 20, 2012 at 10:25 PM, Steven Boada bo...@physics.tamu.edu wrote: It'd be cool if we could do something like bins = [(0.0,0.05,0.1),(0.05,0.1,0.15

[Matplotlib-users] mpl_binutils: Plotting from the command-line with matplotlib

2012-10-20 Thread Damon McDougall
implemented (albeit the most useful ones, in my opinion), this shouldn't be too big of a job. Go forth and fork! -- 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] plot with marker color coded according to z-value

2012-10-19 Thread Damon McDougall
np.max(z) or z.max(), than the standard Python one. Correct me if I'm wrong, but I don't even think you need them. I think the default cmap behaviour is to normalise to the min and max of the data. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University

Re: [Matplotlib-users] mpl command-line utilities

2012-10-18 Thread Damon McDougall
On Thu, Oct 18, 2012 at 10:10 AM, Alexander Eberspaecher alexander.eberspaec...@ovgu.de wrote: Hello, On Wed, 17 Oct 2012 11:38:27 +0100 Damon McDougall damon.mcdoug...@gmail.com wrote: How do people feel about perhaps adding a matplotlib version, mocking the same calling signature as graph

Re: [Matplotlib-users] default backend on 1.2.0rc1 and master

2012-10-17 Thread Damon McDougall
is the default. Agg is a non-gui backend (but it produces awesome output). -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

[Matplotlib-users] mpl command-line utilities

2012-10-17 Thread Damon McDougall
. I think even gnuplot might be similar. How do people feel about perhaps adding a matplotlib version, mocking the same calling signature as graph? I think the most important question is: would it be useful? -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Damon McDougall
. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Everyone hates slow websites. So do we. Make your web apps faster

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Damon McDougall
On Wed, Oct 17, 2012 at 6:13 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Oct 17, 2012 at 1:08 PM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Wed, Oct 17, 2012 at 5:56 PM, Gökhan Sever gokhanse...@gmail.com wrote: On Wed, Oct 17, 2012 at 10:21 AM, Benjamin Root ben.r

Re: [Matplotlib-users] Problem saving open symbols in PDF

2012-10-17 Thread Damon McDougall
On Wed, Oct 17, 2012 at 6:58 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Oct 17, 2012 at 1:21 PM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Wed, Oct 17, 2012 at 6:13 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Oct 17, 2012 at 1:08 PM, Damon McDougall damon.mcdoug

Re: [Matplotlib-users] Clipping Contours

2012-10-16 Thread Damon McDougall
#matplotlib.pyplot.tricontour Does that help? -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Don't let slow site performance ruin your

Re: [Matplotlib-users] close a figure after show , when plotting many figures from script- using matplotlib.pyplot.figure

2012-10-16 Thread Damon McDougall
) do_my_plot(well_id) Or you can call ax.cla() to clear the axes before plotting the next data set. Then subsequent calls to plot don't need 300+ figure objects. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL

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 ben.r...@ou.edu wrote: On Mon, Oct 15, 2012 at 2:11 PM, Damon McDougall damon.mcdoug...@gmail.com 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

Re: [Matplotlib-users] Format date tick labels

2012-10-12 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.ukjavascript:_e({}, 'cvml', 'breamore...@yahoo.co.uk'); wrote: On 11/10/2012 10:55, Damon McDougall wrote: On Wed, Oct 10, 2012 at 5:00 PM, Benjamin Root ben.r

[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 li...@hilboll.de On Fri, Oct 12, 2012 at 10:17 AM, Andreas Hilboll li...@hilboll.dejavascript

Re: [Matplotlib-users] data grid problem

2012-10-11 Thread Damon McDougall
, 25) -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Don't let slow site performance ruin your business. Deploy New

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

2012-10-11 Thread Damon McDougall
us some effort rolling out fixes for 1.2. Cheers. Damon -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Don't let slow

Re: [Matplotlib-users] Format date tick labels

2012-10-11 Thread Damon McDougall
-slow-down-performance-by-10x when encountered with deltas very close to zero... -- 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] data grid problem

2012-10-11 Thread Damon McDougall
On Thu, Oct 11, 2012 at 1:52 PM, Benjamin Root ben.r...@ou.edu wrote: On Thursday, October 11, 2012, Damon McDougall wrote: On Wed, Oct 10, 2012 at 3:55 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed, Oct 10, 2012 at 9:40 AM, rand0m ran...@0x06.net wrote: Hello, I'm new

Re: [Matplotlib-users] dpi

2012-10-11 Thread Damon McDougall
a rasterised 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 United Kingdom

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 javascript:_e({}, 'cvml', 'damon.mcdoug...@gmail.com'); wrote: Gökhan, did you implement the symlink fix? If so, would you mind making a pull request out

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 gokhanse...@gmail.com 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 damon.mcdoug...@gmail.com wrote: On Thursday, October 11, 2012

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

2012-10-09 Thread Damon McDougall
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 recreate on 1.1.1rc2. Watch this space. -- 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] Corrupted percent signs in labels

2012-10-09 Thread Damon McDougall
On Tue, Oct 9, 2012 at 10:56 PM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Tue, Oct 9, 2012 at 10:32 PM, Nikolaus Rath nikol...@rath.org wrote: Hello, For some reason, my matplotlib isn't able to print percent signs ('%') properly: [1] inspiron:~/tmp# cat mplbug.py import

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

2012-10-08 Thread Damon McDougall
I put it on github: https://github.com/matplotlib/matplotlib/issues/1343 -- 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] XKCD style graphs?

2012-10-05 Thread Damon McDougall
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, because this script uses zero matplotlib methods!! Best, Pierre This thread has made my week. -- Damon

Re: [Matplotlib-users] Problem with shared axis

2012-10-05 Thread Damon McDougall
-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 United Kingdom -- Don't let slow

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

2012-10-05 Thread Damon McDougall
. 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-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

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

2012-10-05 Thread Damon McDougall
and such) on an 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.com B2.39

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 gokhanse...@gmail.com wrote: On Fri, Oct 5, 2012 at 1:23 PM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Fri, Oct 5, 2012 at 8:11 PM, Gökhan Sever gokhanse...@gmail.com wrote: Seeing mpl produced plots would be only 1 or 2 clicks away

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 ndbeck...@gmail.com 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

Re: [Matplotlib-users] XKCD style graphs?

2012-10-04 Thread Damon McDougall
On Thu, Oct 4, 2012 at 10:44 AM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Thu, Oct 4, 2012 at 10:02 AM, Pierre Haessig pierre.haes...@crans.org 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

Re: [Matplotlib-users] XKCD style graphs?

2012-10-04 Thread Damon McDougall
by a 10px Gaussian Point Spread Function (if I understand correctly...) Best, 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

Re: [Matplotlib-users] XKCD style graphs?

2012-10-04 Thread Damon McDougall
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 Warwick Coventry West Midlands CV4 7AL

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

2012-10-02 Thread Damon McDougall
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 there some functionality you were looking for or were you just exploring the codebase? -- Damon

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

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

Re: [Matplotlib-users] X Window System error

2012-10-02 Thread Damon McDougall
axis may not make a huge amount of sense, but at least you'll see all your data. Or, perhaps even a histogram? It's hard to advise without knowing your application, but that should help at least a little. Good luck! Best wishes, Damon -- Damon McDougall http://www.damon-is-a-geek.com B2.39

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 kmichael@gmail.com wrote: On Oct 2, 2012, at 11:09 AM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Tue, Oct 2, 2012 at 5:51 PM, K.-Michael Aye kmichael@gmail.com 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 kmichael@gmail.com wrote: On Oct 2, 2012, at 12:06 PM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Tue, Oct 2, 2012 at 8:00 PM, K.-Michael Aye kmichael@gmail.com wrote: On Oct 2, 2012, at 11:09 AM, Damon McDougall

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

2012-10-02 Thread Damon McDougall
in zip(axes, narr): ax.imshow(im, extent=[0,100,0,100]) plt.show() -- 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] bug with bar graph when plotting zero values?

2012-09-27 Thread Damon McDougall
compared to whatever the current scale on the y-axis is. Or call ax.set_xlim 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

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

2012-09-25 Thread Damon McDougall
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 -- Live Security Virtual

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

Re: [Matplotlib-users] netcdf4-python build

2012-09-21 Thread Damon McDougall
this be fixed? MR From what I remember dealing with the netcdf c library, you have to explicitly set a compile flag to enable hdf5 support. That was a while ago, though. I'm not sure if things have changed. Hope this helps. -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics

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

2012-09-21 Thread Damon McDougall
machines at all. Apple even dropped support for some 64-bit machines in the 10.8 release. -- 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] overwriting suptitle?

2012-09-18 Thread Damon McDougall
://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users Fixed in https://github.com/matplotlib/matplotlib/pull/1276. -- Damon

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

2012-09-14 Thread Damon McDougall
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 United Kingdom

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 aronne.merre...@gmail.com wrote: On Tue, Sep 11, 2012 at 10:49 AM, Damon McDougall damon.mcdoug...@gmail.com wrote: On Tue, Sep 11, 2012 at 3:34 PM, Neal Becker ndbeck...@gmail.com wrote: OK, I've attached my sanitized example ImportError

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

2012-09-12 Thread Damon McDougall
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 some of the existing markers over as linestyles would be a nice addition, I think. -- Damon McDougall http

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

2012-09-03 Thread Damon McDougall
then 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 West

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

2012-09-03 Thread Damon McDougall
, 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 damon.mcdoug...@gmail.com wrote: On Mon, Sep 3, 2012 at 6:08 PM, Chao YUE chaoyue...@gmail.com wrote: Yet if I don't want to change the rc file

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.com B2.39 Mathematics Institute

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 lafont.fab...@gmail.comwrote: There is no effect... 2012/8/30 Damon McDougall damon.mcdoug...@gmail.com On Thu, Aug 30, 2012 at 05:50:18PM +0200, Fabien Lafont wrote

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

2012-08-30 Thread Damon McDougall
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 http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL

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

2012-08-30 Thread Damon McDougall
'] = 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 University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Live

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 damon.mcdoug...@gmail.com To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Friday

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

2012-08-25 Thread Damon McDougall
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- 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] 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 damon.mcdoug...@gmail.com To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Saturday

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

2012-08-24 Thread Damon McDougall
function plot at 0x10cddbd70 In [6]: print plt.plot function plot at 0x10cddbd70 They are *literally* the same function in memory. Hope this helps, Michael. Good luck! -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4

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've been able to place black dots using

Re: [Matplotlib-users] problem with png image

2012-08-22 Thread Damon McDougall
, fig_height*3 figure() plt.subplot(2,1,1) plot(np.random.rand(10),'o') plt.subplot(2,1,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

Re: [Matplotlib-users] Stride size in mplot3d

2012-08-13 Thread Damon McDougall
=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 Institute University of Warwick Coventry

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

2012-08-10 Thread Damon McDougall
-- *Satish Maurya* *Research Scholar* -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

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

2012-08-10 Thread Damon McDougall
:) -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Live Security Virtual Conference Exclusive live event will cover all the ways

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 impose on that. I attach the figure

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

2012-08-08 Thread Damon McDougall
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' extension, in some sense. -- Damon McDougall http

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

2012-07-26 Thread Damon McDougall
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

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

2012-07-23 Thread Damon McDougall
/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

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

2012-07-20 Thread Damon McDougall
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 Coventry West Midlands CV4 7AL United Kingdom

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

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 damon.mcdoug...@gmail.comwrote: 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 (x, y)-plane of an Axes3D

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

2012-07-19 Thread Damon McDougall
/50122263/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry

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

2012-07-19 Thread Damon McDougall
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 for all the suggestions. -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United

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 toddrme2...@gmail.com wrote: On Wed, Jul 11, 2012 at 5:23 PM, John Hunter jdh2...@gmail.com wrote: On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall damon.mcdoug...@gmail.com

Re: [Matplotlib-users] histogram withx axis dates

2012-07-14 Thread Damon McDougall
a bar chart with a date x axis or do I have to roll my own? -- Cheers. Mark Lawrence. Everything I said was not at all specific to histograms :) -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

Re: [Matplotlib-users] path effects question

2012-07-14 Thread Damon McDougall
.set_alpha(self._patch_alpha)? have been an alpha blending reason for this? Ben Root -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

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 ben.r...@ou.edu wrote: On Wed, Jul 11, 2012 at 11:23 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall damon.mcdoug...@gmail.com

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 ben.r...@ou.edu wrote: On Wed, Jul 11, 2012 at 11:23 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall damon.mcdoug...@gmail.com

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 damon.mcdoug...@gmail.comwrote: On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote: On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root ben.r...@ou.edu wrote: On Wed

Re: [Matplotlib-users] Font in figures

2012-07-12 Thread Damon McDougall
Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users Hi David, Have you set usetex=True in your rcParams? -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

Re: [Matplotlib-users] histogram scaling

2012-07-12 Thread Damon McDougall
more flexbility to the current histogram implementation. I wonder whether this would be worth a pull request? -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom

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 ben.r...@ou.edu wrote: On Wed, Jul 11, 2012 at 11:23 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall damon.mcdoug...@gmail.com

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 jdh2...@gmail.com wrote: On Tue, Jul 10, 2012 at 12:49 PM, Damon McDougall damon.mcdoug...@gmail.com wrote: Would there be any interest in porting some of that functionality

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 damon.mcdoug...@gmail.com 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 over later today

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

2012-07-10 Thread Damon McDougall
/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 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL

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 damon.mcdoug...@gmail.comwrote: 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] I think it blows

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

2012-07-10 Thread Damon McDougall
, that error function is nifty... :) -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom -- Live Security Virtual Conference Exclusive

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

2012-04-16 Thread Damon McDougall
' 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. -- Damon McDougall d.mcdoug

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 d.mcdoug...@warwick.ac.uk (mailto:d.mcdoug...@warwick.ac.uk) wrote: Hi Kacper, Just to be clear, is it tri.Triangulation(x, y) that hangs, or is it plt.tricontour(…)? It's

  1   2   >