[Matplotlib-users] Using the object-oriented interface (was: Error TclError: no display name and no $DISPLAY environment variable)

2007-08-25 Thread Jouni K . Seppänen
"Deen Sethanandha" <[EMAIL PROTECTED]> writes: >I am very new to using the matplotlib. I am wondering if I can use > just matplotlib without using pylab at all? Yes, you can. The documentation is not perfect, but there is a tutorial to get you started and some reference documentation to ex

Re: [Matplotlib-users] x label is shifted by 1 tick

2007-08-25 Thread Deen Sethanandha
Could someone help me figure out how I can move the x lebel to match the bar chart? Thanks, Deen On 8/19/07, Deen Sethanandha <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to plot a graph as shown. > http://trac-hacks.org/attachment/wiki/TracMetrixDashboard/cummulative.PNG > > I am not sur

Re: [Matplotlib-users] Error TclError: no display name and no $DISPLAY environment variable

2007-08-25 Thread Deen Sethanandha
Thanks a lot, I am very new to using the matplotlib. I am wondering if I can use just matplotlib without using pylab at all? I have rough idea that I can try to find the class that has the function pylab has and use it instead Please let me know what I need to be be aware of? Thanks, Dee

[Matplotlib-users] update x-axis during animation

2007-08-25 Thread kollmanj
I've written a script that animates but I can't update the x axis. I've tried to scale up the bounding box but I run in to trouble with "lazy" vaues which I don't understand. Here are some snippits of #p.gca().update_datalim_numerix((-1000,1000),(-1000,1000) boundingbox=self.a

Re: [Matplotlib-users] Vertical bar - making the bar fixed width

2007-08-25 Thread Alen Ribic
Thanks again Fred. With a bit of adjustment as per your helpful info below, I got the bars to align, cosmetically, just as I hoped. -Alen On 8/25/07, Fred Ludlow <[EMAIL PROTECTED]> wrote: > So, if I understand correctly, this is a cosmetic issue: If you let it > sort out its own scale, it looks

Re: [Matplotlib-users] Vertical bar - making the bar fixed width

2007-08-25 Thread Fred Ludlow
So, if I understand correctly, this is a cosmetic issue: If you let it sort out its own scale, it looks a bit ugly when there are a small number of data points? And using a fixed re-scale of 0-10 isn't too great either 'cause they're all together at one side of the image... (or off the edge of