Re: [Matplotlib-users] XKCD style graphs?

2012-10-05 Thread Jason Grout
On 10/4/12 2:16 AM, Fernando Perez wrote: > This would make for an awesome couple of examples for the gallery, the > mathematica solutions look really pretty cool: > > http://mathematica.stackexchange.com/questions/11350/xkcd-style-graphs > > The matlab and R version not quite so much, still for re

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

2012-10-05 Thread Gökhan Sever
On Fri, Oct 5, 2012 at 2:47 PM, Phil Austin wrote: > > Nice to see our matplotlib acknowledgement generating ripples. We've also got some > mayavi animations and links to other matplotlib-plotted papers and posters > at http://cafc.ubc.ca > > best, Phil > Nice visuals Phil. Thanks for making your

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://www.damon-is-a-gee

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

2012-10-05 Thread Neal Becker
http://blog.wolfram.com/2012/10/05/automating-xkcd-diagrams-transforming- serious-to-funny/ I wonder if mpl has anything along these lines? -- Don't let slow site performance ruin your business. Deploy New Relic APM Depl

Re: [Matplotlib-users] Eclipse with PyDev on Ubuntu - updating matplotlib version in eclipse ide

2012-10-05 Thread Paul Hobson
On Wed, Oct 3, 2012 at 6:25 AM, Harshad Surdi wrote: > Hi, > I am using Eclipse IDE for Java Developers with PyDev on Ubuntu 12.04 and I > am quite new to Ubuntu and Eclipse. Can you guide me as to hos to update > matplotlib in PyDev in Eclipse? > > -- > Best Regards, > Harshad Surdi Harshad, To

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 >> > would >> >> This is not true. A lot of a

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

2012-10-05 Thread Gökhan Sever
On Fri, Oct 5, 2012 at 2:02 PM, Francesco Montesano < franz.berges...@gmail.com> wrote: > > > I think that an official acknowledgment that people can copy and paste > (and adapt) in their paper would be a great idea. > > Francesco > > Some open-access journals permit this: See for instance (also

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

2012-10-05 Thread Francesco Montesano
2012/10/5 Gökhan Sever > > > 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 >> would >> >> This is not true. A lot of articles are unavailable to cert

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

2012-10-05 Thread Gökhan Sever
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 > would > > This is not true. A lot of articles are unavailable to certain > institutions due to a lack of subsc

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

2012-10-05 Thread Steven Boada
For example, in astronomy, a lot of people will 'publish' their paper to Arxiv before it is accepted into a journal. Arxiv is accessible by the general public and a little digging around will reveal that you can download the actual Latex source for the paper. This includes all of the figures. I

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

2012-10-05 Thread Nelle Varoquaux
On 5 October 2012 21:23, 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 > would > > This is not true. A lot of articles are unavailable to certain > institutions due to a lack of subscriptio

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

2012-10-05 Thread Floris van Breugel
On Fri, Oct 5, 2012 at 12: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 > would > > This is not true. A lot of articles are unavailable to certain > institutions due to a lack of subs

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

2012-10-05 Thread Damon McDougall
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 would This is not true. A lot of articles are unavailable to certain institutions due to a lack of subscription. A major sticking point. Am I wrong in thinking that journal

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

2012-10-05 Thread Fernando Perez
On Fri, Oct 5, 2012 at 12:17 PM, Damon McDougall wrote: > It's maybe a bit over the top, > but it's certainly a good reference. I agree, a bit too rich for my taste too. But our sites tend to be the opposite extreme, so it's a good data point to keep in mind. Cheers, f ---

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

2012-10-05 Thread Damon McDougall
On Fri, Oct 5, 2012 at 7:42 PM, Fernando Perez wrote: > On Fri, Oct 5, 2012 at 10:45 AM, Nelle Varoquaux > wrote: >> Here is an example on circos' website of how they advertise the use of their >> plotting library in research: http://circos.ca/intro/published_images/ > > Wow, that is one hell of

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

2012-10-05 Thread Gökhan Sever
On Fri, Oct 5, 2012 at 11:45 AM, Nelle Varoquaux wrote: > > >> I think including a gallery of published examples would be great, >> however, there will be some serious challenges with regards to copyright. >> It would be great to show MPL being used in high impact journals (which it >> is), but ge

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

2012-10-05 Thread Fernando Perez
On Fri, Oct 5, 2012 at 10:45 AM, Nelle Varoquaux wrote: > Here is an example on circos' website of how they advertise the use of their > plotting library in research: http://circos.ca/intro/published_images/ Wow, that is one hell of a visually spiffy site. Can't find any links to development rep

Re: [Matplotlib-users] Saving animations

2012-10-05 Thread Ryan May
On Fri, Oct 5, 2012 at 12:43 PM, Andreas Mueller wrote: > Thanks for the tip. I didn't know about ``--verbose-debug``. > It told me Unknown encoder 'libx264'. > I found out I need to install libavcodec-extra-53 for it to work. > Not everything is going smoothly. > > It would be great if the docs c

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

2012-10-05 Thread Floris van Breugel
The problem is with many journals the content (including figures) is copyright by the journal, not the author. But I imagine most journals would grant permission, it's just an additional step that should be taken where required. The circos layout looks nice! - Floris On Fri, Oct 5, 2012 at 10:

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

2012-10-05 Thread Steven Boada
The idea of pulling key (and sexy) figures from papers is an awesome idea. I know when I am trying to make figures, I often search around looking at the different styles that people use to present similar data. There is also something different about publication level plots than the simple exam

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

2012-10-05 Thread Nelle Varoquaux
> > I think including a gallery of published examples would be great, however, > there will be some serious challenges with regards to copyright. It would > be great to show MPL being used in high impact journals (which it is), but > getting permission from them to show the plots on the MPL website

Re: [Matplotlib-users] Saving animations

2012-10-05 Thread Andreas Mueller
On 10/05/2012 02:49 AM, Ryan May wrote: > On Thu, Oct 4, 2012 at 12:38 PM, Andreas Mueller > wrote: >> On 10/04/2012 03:51 PM, Benjamin Root wrote: >> On Thu, Oct 4, 2012 at 10:02 AM, Andreas Mueller >> wrote: >>> Hi everybody. >>> I have been trying to save some animations I made and I encounter

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

2012-10-05 Thread Floris van Breugel
That citation should be *much* more prominent on the matplotlib homepage. I regret to say that I was unaware of that paper I should have cited in my last paper which made heavy use of matplotlib generated plots with lots of customizations. Next time I'll be sure to include the proper citation! I t

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

2012-10-05 Thread Damon McDougall
On Fri, Oct 5, 2012 at 5:55 PM, Gökhan Sever wrote: > > > On Fri, Oct 5, 2012 at 10:26 AM, Fernando Perez > wrote: >> >> >> @Article{Hunter:2007, >> Author = {Hunter, J. D.}, >> Title = {Matplotlib: A 2D graphics environment}, >> Journal= {Computing In Science \& En

Re: [Matplotlib-users] Problem with shared axis

2012-10-05 Thread Jianbao Tao
Works like a charm. :-) Thank you so much, Damon. Jianbao On Fri, Oct 5, 2012 at 10:53 AM, Damon McDougall wrote: > On Fri, Oct 5, 2012 at 5:44 PM, Jianbao Tao wrote: > > Hi, > > > > I am working on a time-series data browser based on matplotlib. In > general, > > it shows a N_row x 1_col stac

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

2012-10-05 Thread Gökhan Sever
On Fri, Oct 5, 2012 at 10:26 AM, Fernando Perez wrote: > > @Article{Hunter:2007, > Author = {Hunter, J. D.}, > Title = {Matplotlib: A 2D graphics environment}, > Journal= {Computing In Science \& Engineering}, > Volume = {9}, > Number = {3}, > P

Re: [Matplotlib-users] Problem with shared axis

2012-10-05 Thread Damon McDougall
On Fri, Oct 5, 2012 at 5:44 PM, Jianbao Tao wrote: > Hi, > > I am working on a time-series data browser based on matplotlib. In general, > it shows a N_row x 1_col stack of axes, which share the x axis, the time > axis. It is nice that matplotlib offers the sharex option so that the data > can be

[Matplotlib-users] Problem with shared axis

2012-10-05 Thread Jianbao Tao
Hi, I am working on a time-series data browser based on matplotlib. In general, it shows a N_row x 1_col stack of axes, which share the x axis, the time axis. It is nice that matplotlib offers the sharex option so that the data can be zoomed simultaneously in time. However, one problem with the sh

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

2012-10-05 Thread Fernando Perez
On Fri, Oct 5, 2012 at 6:52 AM, Michael Droettboom wrote: > This is a great idea. Anything to raise the level of perceived "legitimacy" > in the academic community would be great. We can definitely add content like > this to the documentation and/or website. Our strategy: - Prominent display on

Re: [Matplotlib-users] EMF output: too many values to unpack error

2012-10-05 Thread Usjes
Benjamin Root-2 wrote > Actually, that is very telling... Did you restart python after editing > the > .py file? Python will only load a source file once in a session (unless > explicitly forced to do a reload, but that is not intended for newbies). > So, any changes to any source .py file will n

Re: [Matplotlib-users] EMF output: too many values to unpack error

2012-10-05 Thread Benjamin Root
On Fri, Oct 5, 2012 at 10:47 AM, Usjes wrote: > Benjamin Root-2 wrote > > On Fri, Oct 5, 2012 at 6:38 AM, Usjes < > > > oisin_nz@.co > > > > wrote: > > > > Does it fail for the example I originally gave? > > > > from pylab import * > > plot([1, 2, 3]) > > savefig("foobar.emf") > > > > > > Ben Roo

Re: [Matplotlib-users] EMF output: too many values to unpack error

2012-10-05 Thread Usjes
Benjamin Root-2 wrote > On Fri, Oct 5, 2012 at 6:38 AM, Usjes < > oisin_nz@.co > > wrote: > > Does it fail for the example I originally gave? > > from pylab import * > plot([1, 2, 3]) > savefig("foobar.emf") > > > Ben Root Yes, it fails even with the simple plot suggested; see log below. I a

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

2012-10-05 Thread Michael Droettboom
This is a great idea. Anything to raise the level of perceived "legitimacy" in the academic community would be great. We can definitely add content like this to the documentation and/or website. Mike On 10/05/2012 09:43 AM, Jianbao Tao wrote: I think that is a great idea. I think it is worthw

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

2012-10-05 Thread Jianbao Tao
I think that is a great idea. I think it is worthwhile to put a highlighted spot, or whatever, that shows matplotlib plots in academic publications. Additionally, it is good for enlarging the matplotlib user base to ask people to acknowledge matplotlib in their papers if they use matplotlib to make

Re: [Matplotlib-users] EMF output: too many values to unpack error

2012-10-05 Thread Benjamin Root
On Fri, Oct 5, 2012 at 6:38 AM, Usjes wrote: > Benjamin Root-2 wrote > > On Thu, Jun 9, 2011 at 12:40 PM, Klonuo Umom < > > > klonuo@ > > > > wrote: > > > > I set up pull requests to fix this problem, so the v1.0.x-maint branch > and > > the master branch should soon have the fixes commited to th

Re: [Matplotlib-users] EMF output: too many values to unpack error

2012-10-05 Thread Usjes
Benjamin Root-2 wrote > On Thu, Jun 9, 2011 at 12:40 PM, Klonuo Umom < > klonuo@ > > wrote: > > I set up pull requests to fix this problem, so the v1.0.x-maint branch and > the master branch should soon have the fixes commited to them. You can > get > the latest bugfixed branch for v1.0.1 at >

Re: [Matplotlib-users] XKCD style graphs?

2012-10-05 Thread Damon McDougall
On Fri, Oct 5, 2012 at 10:13 AM, Matthias BUSSONNIER wrote: > > Le 4 oct. 2012 à 23:09, Juergen Hasch a écrit : > >> Here is my take on it as an IPython notebook, based on Damon's code: >> http://nbviewer.ipython.org/3835181/ >> >> I took the engineering approach and filtered the random function i

Re: [Matplotlib-users] XKCD style graphs?

2012-10-05 Thread Matthias BUSSONNIER
Le 4 oct. 2012 à 23:09, Juergen Hasch a écrit : > Here is my take on it as an IPython notebook, based on Damon's code: > http://nbviewer.ipython.org/3835181/ > > I took the engineering approach and filtered the random function instead of > doing some fft/ifft magic. > Also, X and Y of the funct