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

[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] Reports from SciPy 2013

2013-07-03 Thread Damon McDougall
> > Yes, We'll put try to put these on the conference website at the very > least. > > We also talked about adding this to the matplotlib website, but we > need to sort out first the copyright problems and then coding this > part of the website. > +1 -- Damon McDougall

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

2013-03-07 Thread Damon McDougall
e(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > ___

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

2013-01-21 Thread Damon McDougall
SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > ___ > Matplotlib-devel mailing list > matplotlib-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > --

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

2012-12-17 Thread Damon McDougall
>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >>> Remotely access PCs and mobile devices and provide instant support >>> Improve your efficiency, and focus on delivering more value-add services >>> Discover

Re: [Matplotlib-users] plot_surface does not work

2012-12-11 Thread Damon McDougall
o use will result in more expected behaviour than what our users are currently seeing. Could we do 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 defa

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

2012-11-10 Thread Damon McDougall
#x27;s as simple as: > > import numpy as np > import matplotlib.pyplot as plt > > a = np.arange(100).reshape(10,10) > fig, ax1 = plt.subplots() > CS = ax1.contourf(a,levels=np.arange(0,101,10)) > cbar = plt.colorbar(CS) > cbar.ax.invert_yaxis() > > Does that produce

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

2012-11-08 Thread Damon McDougall
yone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > ___ > Matplotlib-users maili

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

2012-10-30 Thread Damon McDougall
ed > just fine. > > I'm pretty sure I've seen this problem before, but keep forgetting to > ask about it. > > Is this a bug somewhere (e.g. in matplotlib's setup.py or somewhere in > python) or is there some better way to clear out a py

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

2012-10-20 Thread Damon McDougall
nd line options 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 CV

Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-20 Thread Damon McDougall
On Sat, Oct 20, 2012 at 11:37 PM, Benjamin Root wrote: > > > On Saturday, October 20, 2012, Damon McDougall wrote: >> >> On Sat, Oct 20, 2012 at 10:25 PM, Steven Boada >> wrote: >> > It'd be cool if we could do something like >> > >> > b

Re: [Matplotlib-users] Histogram with overlapping bins

2012-10-20 Thread Damon McDougall
t probability distribution function. This a bad property to have. If you don't want to pick a neighbouring bin to apply more mass, and just increase the width of the each bin's matplotlib.patches.Patch object, then that is more sensible. Except now you have the problem of displaying the h

Re: [Matplotlib-users] plot with marker color coded according to z-value

2012-10-19 Thread Damon McDougall
gt; 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 of Warwick

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

2012-10-18 Thread Damon McDougall
On Thu, Oct 18, 2012 at 8:13 PM, Mark Lawrence wrote: > On 18/10/2012 12:54, Alexander Eberspaecher wrote: >> On Thu, 18 Oct 2012 10:45:24 +0100 >> Damon McDougall wrote: >> >> >> Using e.g. optparse, multiple data files shouldn't be too complicated. >&g

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

2012-10-18 Thread Damon McDougall
On Thu, Oct 18, 2012 at 10:10 AM, Alexander Eberspaecher wrote: > Hello, > > On Wed, 17 Oct 2012 11:38:27 +0100 > Damon McDougall wrote: > >> How do people feel about perhaps adding a matplotlib version, mocking >> the same calling signature as graph? >> >>

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 wrote: > > > On Wed, Oct 17, 2012 at 1:21 PM, Damon McDougall > wrote: >> >> On Wed, Oct 17, 2012 at 6:13 PM, Benjamin Root wrote: >> > >> > >> > On Wed, Oct 17, 2012 at 1:08 PM, Damon McDougall &g

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 wrote: > > > On Wed, Oct 17, 2012 at 1:08 PM, Damon McDougall > wrote: >> >> On Wed, Oct 17, 2012 at 5:56 PM, Gökhan Sever >> wrote: >> > >> > >> > On Wed, Oct 17, 2012 at 10:21 AM, Benjamin

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

2012-10-17 Thread Damon McDougall
rs! >> Ben Root >> > > Hi Ben, > > I was guessing the same way, but trying different viewers doesn't make any > difference: > > Evince v3.2.1 > Xpdf v3.03 > Okular v0.14.3 > > Could anyone confirm this on a window machine? > > -- > Gökhan C

[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] default backend on 1.2.0rc1 and master

2012-10-17 Thread Damon McDougall
tainly >> include gui toolkits. >> >> Eric > > Thanks, > Francesco > >> >> >> > >> > >> > cheers, >> > >> > Francesco Packages have whatever default backend the maintainer decided to build them with. For example, the macp

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

2012-10-16 Thread Damon McDougall
() >> par2 = ax.twinx() >> # Plot all the data >> par1.plot(processed_data_object.raw_x,processed_data_object.raw_y). >> par2.plot( >> # finally >> fig.show() >> # I tried fig.clf() >> >> >> def plot_and_

Re: [Matplotlib-users] Clipping Contours

2012-10-16 Thread Damon McDougall
ed contour plot? Here's the call signature: http://matplotlib.org/api/pyplot_api.html#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 -

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

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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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
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
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] 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] 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] 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-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
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
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] 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] 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
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] 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

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

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

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

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] 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] 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] 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

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

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] 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] 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] 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 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 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
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
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] 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] 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 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] 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-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] 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] 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] 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] 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
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] 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] 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] 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] 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

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

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

  1   2   >