Re: [Matplotlib-users] Labeling plot lines like clabel

2009-03-05 Thread Eric Firing
Luke wrote: > I have a problem where I cannot mesh up a square space and use contour > because there are many infeasible regions of the plot (no solution to > the equations of which I am plotting level curves). Here is an > example of the type of contour plot I am looking to achieve: > http://www

[Matplotlib-users] fill entire figure area & DONT maintain aspect ratio

2009-03-05 Thread Pablo Romero
Hi, I need help doing the following: I need to create a square png image (256x256 pixels) with NO margins. I need my plot area to completely fill this 256x256 box, regardless of what the plot's aspect ratio should be; i.e., I want the plot area stretched or compressed either in the vertical o

Re: [Matplotlib-users] xlabel getting chopped off

2009-03-05 Thread Daniel Soto
brilliant. that worked nicely. thanks ryan, drs On 5 Mar 2009, at 17:44, Ryan May wrote: > > > On Thu, Mar 5, 2009 at 6:24 PM, Daniel Soto > wrote: > i'm having a problem with an xlabel getting chopped off at the bottom > of a figure. > i've looked through the matplotlibrc parameters and can

Re: [Matplotlib-users] xlabel getting chopped off

2009-03-05 Thread Ryan May
On Thu, Mar 5, 2009 at 6:24 PM, Daniel Soto wrote: > i'm having a problem with an xlabel getting chopped off at the bottom > of a figure. > i've looked through the matplotlibrc parameters and can't find > anything that addresses > this. toying with the figure.subplot.* didn't seem to have an > e

[Matplotlib-users] Labeling plot lines like clabel

2009-03-05 Thread Luke
I have a problem where I cannot mesh up a square space and use contour because there are many infeasible regions of the plot (no solution to the equations of which I am plotting level curves). Here is an example of the type of contour plot I am looking to achieve: http://www.dlpeterson.com/levelc

[Matplotlib-users] xlabel getting chopped off

2009-03-05 Thread Daniel Soto
i'm having a problem with an xlabel getting chopped off at the bottom of a figure. i've looked through the matplotlibrc parameters and can't find anything that addresses this. toying with the figure.subplot.* didn't seem to have an effect. how can i prevent this from happening? thx, drs

Re: [Matplotlib-users] Saving a basemap plot background

2009-03-05 Thread Jose Gomez-Dans
Jeff, Solved, I think! 2009/3/3 Jose Gomez-Dans : > OK, I wasn't aware of this. However, memory consumption still flies. I am > aware that it could be other bits of the program that are eating up loads of > memory, but I don't know how to test where the bottleneck is. In the end, I > resorted to g

[Matplotlib-users] barchart: center xticklabels for only one data set

2009-03-05 Thread Timmie
Hello, I tried to modify the bar chart demo for my case. I want to plot only bar charts for one data set. But the xticklables are not centered below the bars, rather are they left in place as if there were still two data sets. How do I modify set_xticklabels in oder to get the lables centered be

Re: [Matplotlib-users] making the space between ticks

2009-03-05 Thread Chaitanya Krishna
Hi all, I am wondering how I can get space in the axis label while using the Latex mode. That is, when I use pylab.ylabel(r'$V [A^{3}]$') I don't get any space in between V and [. I also tried using the math mode spacing for Latex, So, if I try to do pylab.ylabel(r'$V\;[A^{3}]$'), I only get V a

Re: [Matplotlib-users] Matplotlib's logo

2009-03-05 Thread Ryan May
On Thu, Mar 5, 2009 at 1:56 AM, Torsten Bronger < bron...@physik.rwth-aachen.de> wrote: > Hallöchen! > > In my web app, I have an "about" page which contains the major > components, together with the logos (Ubuntu, Apache, Django etc). > http://matplotlib.sourceforge.net/_static/logo2.png is too w

[Matplotlib-users] making the space between ticks

2009-03-05 Thread Jorg Rødsjø
Hi I'm plotting a value for each day as bars, and another value for the same exact time as a regular graph. The problem is that the bars overlap, so I thought I could try to make the plot wider, to make more room, but I have been unable to do so. I was thinking that if I increased the space betwee

[Matplotlib-users] autolabels for barcharts

2009-03-05 Thread Timmie
Hello, I have a question regarding autolabels for bar charts. It seems that the pie charts have already incorporated such a functionality [1]. Is there any reason why this isn't built in the bar chart function [2]? The function I am referring to is: def autolabel(rects): # attach some text

Re: [Matplotlib-users] memory usage (leakage?) in ipython interactive mode

2009-03-05 Thread Michael Droettboom
There are at least three possible causes of what you're seeing here: 1) ipython stores references to all results in the console. (ipython maintains a history of results so they can easily be accessed later). I don't recall the details, but it may be possible to turn this feature off or limit