Re: [Matplotlib-users] install on Mac

2006-11-07 Thread Charlie Moad
> There are currently no Mac binaries for > that version on SourceForge or pythonmac. They're up now. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated tech

Re: [Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-07 Thread Chris Barker
Russell E Owen wrote: >> Russell E. Owen wrote: >>> On Feb 25 Samuel Smith reported that WXAgg crashed on MacOS X using >>> matplotlib 0.87. I just built matplotlib 0.87.7 on Python 2.5 and am >>> still having the problem. >>> - matplotlib 0.87.7 (from source) >> >> That may be the issue -- are y

[Matplotlib-users] Any fix for wxAgg on Mac?

2006-11-07 Thread Russell E. Owen
On Feb 25 Samuel Smith reported that WXAgg crashed on MacOS X using matplotlib 0.87. I just built matplotlib 0.87.7 on Python 2.5 and am still having the problem. Christopher Barker suggested disabling acceleration: import matplotlib.backends.backend_wxagg matplotlib.backends.backend_wxagg._use

Re: [Matplotlib-users] Date conversion

2006-11-07 Thread John Hunter
> "Jose" == Jose Gomez-Dans <[EMAIL PROTECTED]> writes: Jose> Hi! We are tryint to access time data stored in an SQL The Jose> query returns a date object of type DbiDate. When printed, Jose> we get a nicely formatted text date. If cast into a float or Jose> int, you get the n

[Matplotlib-users] Date conversion

2006-11-07 Thread Jose Gomez-Dans
Hi! We are tryint to access time data stored in an SQL The query returns a date object of type DbiDate. When printed, we get a nicely formatted text date. If cast into a float or int, you get the number of seconds elapsed since 1/1/1970. The way we are dealing with the conversion from this format i

Re: [Matplotlib-users] how to set figure size

2006-11-07 Thread John Hunter
> "Ryan" == Ryan Krauss <[EMAIL PROTECTED]> writes: Ryan> You have two options. savefig does have a dpi option that Ryan> will essentially set the figure size for the saved file: Ryan> savefig('myfile.png',dpi=300) Ryan> play with dpi until you get a figure size you like.

Re: [Matplotlib-users] Changing the tick label font family

2006-11-07 Thread John Hunter
> "Etrade" == Etrade Griffiths <[EMAIL PROTECTED]> writes: Etrade> Sorry, another really basic matplotlib question ... how do Etrade> I set the font family of the axis tick labels? I am using Etrade> wxPython/wxMpl and not the pylab interface so am trying to Etrade> avoid getp

Re: [Matplotlib-users] Changing the tick label font family

2006-11-07 Thread Etrade Griffiths
Derek, I stand corrected - the phrase should be "fairly kludgy" though "cludgy" might not be that far off when describing my code! Alun At 15:03 07/11/2006, you wrote: From http://www.bbc.co.uk/manchester/have_your_say/2002/11/06/manc_words_3.shtml A cludgy is an outside loo ??? >>> Etrade Griff

Re: [Matplotlib-users] Multiple y axis plotting

2006-11-07 Thread Etrade Griffiths
John thanks - twinx was indeed where I "borrowed" some of the lines from. They're in the code explicitly 'cos it's a lot clearer to me than using twinx which is buried somewhere in the pylab interface Alun Griffiths At 15:32 07/11/2006, you wrote: > > "Etrade" == Etrade Griffiths <[EMAIL

Re: [Matplotlib-users] Multiple y axis plotting

2006-11-07 Thread John Hunter
> "Etrade" == Etrade Griffiths <[EMAIL PROTECTED]> writes: Etrade> After poking around in the Pylab source, managed to sort Etrade> the multiple line plotting using Etrade> fig = self.get_figure() ax1 = fig.gca() ax2 = Etrade> fig.add_axes(ax1.get_position(), sharex=ax1, E

Re: [Matplotlib-users] hist normalise error?

2006-11-07 Thread John Hunter
> "izak" == izak marais <[EMAIL PROTECTED]> writes: izak> I want to plot the probability density function, but izak> hist(...,normed=1,...) does not work as expected. Here is izak> the code (with ipython line prompts): izak> In [69]: n, bins, patches = hist(data, bins = 100,

Re: [Matplotlib-users] "Vague" lines

2006-11-07 Thread John Hunter
> "Bart" == Bart van Kuik <[EMAIL PROTECTED]> writes: Bart> Hi list, I have created plots, but I find the line style is Bart> a bit "vague". The line isn't one sharp, contrasting color, Bart> but smoothly blended to the background. Is the correct term Bart> anti aliasing? Yes.

Re: [Matplotlib-users] hist normalise error?

2006-11-07 Thread Pierre GM
>>> hist? ... Docstring: HIST(x, bins=10, normed=0, bottom=0, align='edge', orientation='vertical', width=None, **kwargs) Compute the histogram of x. bins is either an integer number of bins or a sequence giving the bins. x are the data to be binned. The return values is

Re: [Matplotlib-users] install on Mac

2006-11-07 Thread Alan Isaac
On Tue, 7 Nov 2006, Charlie Moad wrote: > You'll need 0.87.7. I will try to build/post these > tonight. Thanks!!! > It's not terrible to get it compiled on OSX, but it's not > trivial at the same time. That is what I feared. Thanks again! Alan Isaac

Re: [Matplotlib-users] how to set figure size

2006-11-07 Thread Ryan Krauss
You have two options. savefig does have a dpi option that will essentially set the figure size for the saved file: savefig('myfile.png',dpi=300) play with dpi until you get a figure size you like. The other way to set the figure size is to specify it when you create the figure: figure(1,(10,8))

Re: [Matplotlib-users] "Vague" lines

2006-11-07 Thread Pierre GM
On Tuesday 07 November 2006 04:49, Bart van Kuik wrote: > I have created plots, but I find the line style is a bit "vague". The > line isn't one sharp, contrasting color, but smoothly blended to the > background. Is the correct term anti aliasing? Seems like it. Make sure the 'antialiased' propert

[Matplotlib-users] Changing the tick label font family

2006-11-07 Thread Etrade Griffiths
Sorry, another really basic matplotlib question ... how do I set the font family of the axis tick labels? I am using wxPython/wxMpl and not the pylab interface so am trying to avoid getp/setp. I could do this using matplotlib.rc but want to do it programatically I tried fig=self.get_figure(

Re: [Matplotlib-users] Multiple y axis plotting

2006-11-07 Thread Etrade Griffiths
After poking around in the Pylab source, managed to sort the multiple line plotting using fig = self.get_figure() ax1 = fig.gca() ax2 = fig.add_axes(ax1.get_position(), sharex=ax1, frameon=False) so issue closed for the moment --

Re: [Matplotlib-users] install on Mac

2006-11-07 Thread Charlie Moad
On 11/7/06, Alan Isaac <[EMAIL PROTECTED]> wrote: > On Mon, 06 Nov 2006, Alan Isaac wrote: > > I'm using MacPython 2.5 with numpy installed, > > and I wish to install matplotlib. Possible? Easy? > > I'm brand new on the Mac and used to the Windows installers, > > so if you can point me to *step by

Re: [Matplotlib-users] install on Mac

2006-11-07 Thread Alan Isaac
On Mon, 06 Nov 2006, Alan Isaac wrote: > I'm using MacPython 2.5 with numpy installed, > and I wish to install matplotlib. Possible? Easy? > I'm brand new on the Mac and used to the Windows installers, > so if you can point me to *step by step* instructions I'd be > very grateful. I need to

[Matplotlib-users] hist normalise error?

2006-11-07 Thread izak marais
I want to plot the probability density function, but hist(...,normed=1,...) does not work as expected.Here is the code (with ipython line prompts):In [69]: n, bins, patches = hist(data, bins = 100, normed = 1)[ 0.12485649, 0.03013777, 0.03874856, 0.    , 0.00861079, 0.    ,   0.   

[Matplotlib-users] "Vague" lines

2006-11-07 Thread Bart van Kuik
Hi list, I have created plots, but I find the line style is a bit "vague". The line isn't one sharp, contrasting color, but smoothly blended to the background. Is the correct term anti aliasing? When setting the linestyle to 'dotted', the plot is not very clear, see the following result: http://v