Re: [Matplotlib-users] Centering Tick Labels BETWEEN Tick Marks

2006-07-31 Thread Jouni K Seppanen
"Alexander Michael" <[EMAIL PROTECTED]> writes: > I would like to create a plot axis with major tick labels centered > *between* major tick markers instead below tick markers. Take a look at http://thread.gmane.org/gmane.comp.python.matplotlib.general/5271 http://thread.gmane.org/gmane.comp.pyth

Re: [Matplotlib-users] Combining figures

2006-07-31 Thread David Huard
Hi John, Thanks for taking the time to answer a badly formulated question. With your indications, I have been able to get an example working.The point was that I had a function with a number of arguments that returned a subplot(111) instance. Inside this function there are thousands of  calls to pl

Re: [Matplotlib-users] Combining figures

2006-07-31 Thread John Hunter
> "David" == David Huard <[EMAIL PROTECTED]> writes: David> Hi, I have a function fig(x) that returns a subplot David> instance, and I'd like to make a new figure by calling this David> function twice. David> For example: def fig(x): s = subplot(111) return s.plot(x) Davi

Re: [Matplotlib-users] Plotting Dates

2006-07-31 Thread Chris S
Thanks, that's exactly what I was looking for. Chris On 7/31/06, Richard Albright <[EMAIL PROTECTED]> wrote: > take a look at the finance_work2.py code on the screenshots page: > http://matplotlib.sourceforge.net/screenshots.html > > On Mon, 2006-07-31 at 11:52 -0400, Chris S wrote: > > I'm tryin

[Matplotlib-users] Combining figures

2006-07-31 Thread David Huard
Hi, I have a function fig(x) that returns a subplot instance,and I'd like to make a new figure by calling this function twice.  For example:def fig(x):    s = subplot(111)    return s.plot(x) and i wan't to do something like:fig = figure(figsize = (6,12))fig.add_axes(fig(x1))fig.add_axes(fig(x2))ax

Re: [Matplotlib-users] Plotting Dates

2006-07-31 Thread PGM
Chris, http://matplotlib.sourceforge.net/matplotlib.pylab.html#-plot_date + google "date dateutils" site:http://matplotlib.sourceforge.net/tutorial.html + http://matplotlib.sourceforge.net/matplotlib_examples_0.87.1.zip And if this is not enough, please be a bit more specific in your request: an

[Matplotlib-users] Centering Tick Labels BETWEEN Tick Marks

2006-07-31 Thread Alexander Michael
I would like to create a plot axis with major tick labels centered *between* major tick markers instead below tick markers. If you are viewing this email with a fixed-width font, it might look something like: |___.___.___.___|___.___.___.___|___.___.___.___| LABEL01 LABEL02 LABE

Re: [Matplotlib-users] Pixel placement of text

2006-07-31 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> thread. I would like to remove it, together with Eric> copy_bbox_transform, on the grounds that these functions Eric> probably have not been used by anyone except during the last Eric> few days, and their functionality i

Re: [Matplotlib-users] Pixel placement of text

2006-07-31 Thread Eric Firing
Thanks to all who contributed to this thread concerning how to draw something such as text at an offset relative to a data point, with the offset in screen coordinates so that it stays constant with zooming etc. The result in svn is a new function in transforms: def offset_copy(trans, fig=None,

[Matplotlib-users] Plotting Dates

2006-07-31 Thread Chris S
I'm trying to plot dates using plot_date(), but the date for every point is labeled on the axis, and in a verbose format, resulting in a jumble of text making the date-axis completely unreadable. Is there any way to control the format of the dates displayed, and ensure only a small percentage of po

[Matplotlib-users] Help running matplotlib on Mac OS X

2006-07-31 Thread João Fonseca
I'm trying to quit Matlab and use python fro my data analysis. I have installed the latest MacPython (universal), wxpython, aggdraw and matplotlib from pythonmac.org. Everything seems to work, apart from matplotlib. Running from ipython: In [1]: from pylab import * In [2]: plot([1,2,3,4]) I

Re: [Matplotlib-users] Help running matplotlib on Mac OS X

2006-07-31 Thread Charlie Moad
On 7/31/06, João Quinta da Fonseca <[EMAIL PROTECTED]> wrote: > I'm trying to quit Matlab and use python fro my data analysis. I have > installed the latest MacPython (universal), wxpython, aggdraw and > matplotlib from pythonmac.org. Everything seems to work, apart from > matplotlib. Running from

Re: [Matplotlib-users] Help running matplotlib on Mac OS X

2006-07-31 Thread John Hunter
> "João" == João Quinta da Fonseca <[EMAIL PROTECTED]> writes: João> I'm trying to quit Matlab and use python fro my data João> analysis. I have installed the latest MacPython (universal), João> wxpython, aggdraw and matplotlib from João> pythonmac.org. Everything seems to work

[Matplotlib-users] Help running matplotlib on Mac OS X

2006-07-31 Thread João Quinta da Fonseca
I'm trying to quit Matlab and use python fro my data analysis. I have installed the latest MacPython (universal), wxpython, aggdraw and matplotlib from pythonmac.org. Everything seems to work, apart from matplotlib. Running from ipython: In [1]: from pylab import * In [2]: plot([1,2,3,4]) I

Re: [Matplotlib-users] viewing rotated pixels possible with mpl?

2006-07-31 Thread Eric Emsellem
beautiful! I was in the meantime working out something using the suggestion Eric sent me (e.g. via pcolormesh) and I could work most of things I wanted out, but at the price of a rather stupidly looking management of the axis and rotation (maybe there is a way for improvement here too...). You

Re: [Matplotlib-users] viewing rotated pixels possible with mpl?

2006-07-31 Thread John Hunter
> "Eric" == Eric Emsellem <[EMAIL PROTECTED]> writes: Eric> Hi, this is a question I have posted earlier, but Eric> unfortunately I didn't get any answer. if anybody has any Eric> hint on how to do this, I would be most graceful!! Thanks Eric> in advance! I looked at this a