[Matplotlib-users] Bar plot, 0 values

2010-03-24 Thread b b
Hi there, While creating bar plots I found that bars with height 0 are not being displayed. Their space is distributed evenly between the other columns. Sample script: /-- from pylab import * import sys figure(8) if(sys.argv[1].lower() == 'y'): bar([0, 1, 0

[Matplotlib-users] Speaking of "many" ... line collections? (was: Put many graphs...)

2010-03-24 Thread David Carmean
At what point is a line Collection useful? -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. S

Re: [Matplotlib-users] format yticks

2010-03-24 Thread Angus McMorland
On 24 March 2010 17:33, Nils Wagner wrote: > Hi all, > > how can I change the output format of yticks from 100 > to 1.e6 ? I'm not sure if there's an easier way still, but this works: from matplotlib.ticker import Formatter class SciFormatter(Formatter): def __call__(self, x, pos=None):

[Matplotlib-users] Hiring: Software Developer, Scientific Applications

2010-03-24 Thread Amenity Applewhite
Enthought is hiring a Software Developer. See the description below, or on our website: http://www.enthought.com/company/sd-scientific-app.php Best, Amenity -- Amenity Applewhite Enthought, Inc. Scientific Computing Solutions www.enthought.com Software Developer The Software Developer at E

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Rich Krauter
On Wed, Mar 24, 2010 at 4:19 PM, Michael Droettboom wrote: > Rich Krauter wrote: >>> >>> Rich Krauter wrote: >>> Hello, I am a relatively new user of matplotlib; thank you to the matplotlib team for this excellent package. I have a question about serializing matplotli

[Matplotlib-users] [matplotlib install] Problem when compiling.

2010-03-24 Thread David Kremer
Hello, I have a problem when compiling matplotlib. python setup.py build stop here : copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux- x86_64-2.4/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf -> build/lib.linux- x86_64-2.4/matplotlib/mpl-data running build_ex

Re: [Matplotlib-users] where's superpack?

2010-03-24 Thread Christopher Barker
David Kremer wrote: >> Does anybody know where I could get a >> copy of superpack? I don't know of the status of that, but this is what I recommend: install the python2.6 from python.org install the numpy1.3 binary from scipy.org install the matplotlib binary (*.dmg) from matplotlib.org (optiona

Re: [Matplotlib-users] where's superpack?

2010-03-24 Thread David Kremer
Le Wednesday 24 March 2010 22:02:15, Pau a écrit : > Hello, > > I am using macosx 10.6 aka snow leopard (not willingly btw) and I need > to install matplotlib. I know of superpack but the site seems to have > been "dead" for some weeks now. Does anybody know where I could get a > copy of superpack

[Matplotlib-users] format yticks

2010-03-24 Thread Nils Wagner
Hi all, how can I change the output format of yticks from 100 to 1.e6 ? Nils -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune app

[Matplotlib-users] where's superpack?

2010-03-24 Thread Pau
Hello, I am using macosx 10.6 aka snow leopard (not willingly btw) and I need to install matplotlib. I know of superpack but the site seems to have been "dead" for some weeks now. Does anybody know where I could get a copy of superpack? thanks, Pau --

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Rich Krauter
On Wed, Mar 24, 2010 at 1:37 PM, Chris Barker wrote: > Michael Droettboom wrote: >> What is the advantage of JSON (is this specific case) over Python source >> code?  matplotlib is designed around it and it's more flexible.  Unless >> you're planning on automatically manipulating the JSON, I don't

Re: [Matplotlib-users] (no subject)

2010-03-24 Thread Ryan May
On Wed, Mar 24, 2010 at 10:55 AM, wrote: > Hello. > > I would like to know, please, how you can add graphics on a same plot. > > eg : > > superpose sine and cosine graphs on the same plot. If you're just starting out with matplotlib, spending some time in our gallery is a great place to learn:

Re: [Matplotlib-users] Put many graphs on the same plot.

2010-03-24 Thread Jim Vickroy
david.kremer...@gmail.com wrote: Hello. I would like to know, please, how you can add graphics on a same plot. eg : superpose sine and cosine graphs on the same plot. Thank you very much. -- Download Intel® Parallel

Re: [Matplotlib-users] Put many graphs on the same plot.

2010-03-24 Thread Alan G Isaac
On 3/24/2010 12:58 PM, david.kremer...@gmail.com wrote: > I would like to know, please, how you can add graphics on a same plot. > > eg : > > superpose sine and cosine graphs on the same plot. > Just use `plot` again. Or do many lines in one go: http://matplotlib.sourceforge.net/api/pyplot_ap

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Michael Droettboom
Rich Krauter wrote: >> Rich Krauter wrote: >> >>> Hello, >>> >>> I am a relatively new user of matplotlib; thank you to the matplotlib team >>> for this excellent package. >>> I have a question about serializing matplotlib figures. I have searched >>> for serialization options for matplotli

[Matplotlib-users] Put many graphs on the same plot.

2010-03-24 Thread david . kremer . dk
Hello. I would like to know, please, how you can add graphics on a same plot. eg : superpose sine and cosine graphs on the same plot. Thank you very much. -- Download Intel® Parallel Studio Eval Try the new software t

[Matplotlib-users] (no subject)

2010-03-24 Thread david . kremer . dk
Hello. I would like to know, please, how you can add graphics on a same plot. eg : superpose sine and cosine graphs on the same plot. Thank you very much. -- Download Intel® Parallel Studio Eval Try the new software t

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Rich Krauter
> Rich Krauter wrote: >> >> Hello, >> >> I am a relatively new user of matplotlib; thank you to the matplotlib team >> for this excellent package. >> I have a question about serializing matplotlib figures.  I have searched for >> serialization options for matplotlib figures but have not found muc

Re: [Matplotlib-users] How to draw following gridlines

2010-03-24 Thread Jae-Joon Lee
Try something like minorticks_on() grid(True, color="k", ls="solid") grid(True, which="minor", color="r") -JJ On Wed, Mar 24, 2010 at 7:33 AM, yogesh karpate wrote: > Kindly find the image attached with this mail. I want to make the graph > with  grid lines(shown in background) as plotted  in a

Re: [Matplotlib-users] Overlapping labels in pie charts

2010-03-24 Thread Jae-Joon Lee
You should not use "angle" style if you change the x,y position (this is due to the algorithm of how the line connecting two points are create). Try something like below instead. if foo: if theta - foo < 10: print >>sys.stderr, "Overlapping, offsetting a little bit"

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Chris Barker
Michael Droettboom wrote: > What is the advantage of JSON (is this specific case) over Python source > code? matplotlib is designed around it and it's more flexible. Unless > you're planning on automatically manipulating the JSON, I don't see why > you wouldn't just use Python source. Indeed.

Re: [Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Michael Droettboom
What is the advantage of JSON (is this specific case) over Python source code? matplotlib is designed around it and it's more flexible. Unless you're planning on automatically manipulating the JSON, I don't see why you wouldn't just use Python source. Mike Rich Krauter wrote: > Hello, > > I

[Matplotlib-users] matplotlib figure serialization

2010-03-24 Thread Rich Krauter
Hello, I am a relatively new user of matplotlib; thank you to the matplotlib team for this excellent package. I have a question about serializing matplotlib figures. I have searched for serialization options for matplotlib figures but have not found much information. I am interested to hear abo

[Matplotlib-users] permille sign in labels

2010-03-24 Thread Angus McMorland
On 24 March 2010 10:05, Nils Wagner wrote: > Hi all, > > does anybody know how to draw a permille sign in ylabel ? ax.set_ylabel(u'blah \u2030') -- AJC McMorland Post-doctoral research fellow Neurobiology, University of Pittsburgh

Re: [Matplotlib-users] permille sign in labels

2010-03-24 Thread Michael Droettboom
You can use Unicode. ylabel(u'\u2030') http://www.unicode.org/charts/charindex.html Mike Nils Wagner wrote: > Hi all, > > does anybody know how to draw a permille sign in ylabel ? > > > Nils > > -- > Download Intel

[Matplotlib-users] permille sign in labels

2010-03-24 Thread Nils Wagner
Hi all, does anybody know how to draw a permille sign in ylabel ? Nils -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune application

Re: [Matplotlib-users] Overlapping labels in pie charts

2010-03-24 Thread Rune V . Sjøen
Hello again, and thank you very much for the answer, suddenly it all got much clearer to me. The only 'issue' I am having is (from screenshot) what happens to the line pointing to Logs when I try to offset it a little bit on the Y axis. It looks like either the angleA or angleB is wrong, but I don'

Re: [Matplotlib-users] Matplotlib sphinx extension crashes Python

2010-03-24 Thread Michael Droettboom
Anyway you can get a traceback in a debugger? (I'm not a regular Windows user). It's hard to guess what could be going wrong without any further clues. Mike Fredrik Johansson wrote: > Hi, > > I'm having trouble getting the sphinx matplotlib extensions to work. > After adding "'matplotlib.sph

[Matplotlib-users] How to draw following gridlines

2010-03-24 Thread yogesh karpate
Kindly find the image attached with this mail. I want to make the graph with grid lines(shown in background) as plotted in attached mail(Dont consider the curve in foreground).How can we do it in matplotlib? I tried grid(color='#f52887', linestyle='-', linewidth=1). But I couldnt figure out how