Re: [Matplotlib-users] How do I include the stop value in the array by using arrayrange?

2006-11-17 Thread Robert Kern
[EMAIL PROTECTED] wrote: > Hi,all: > How do I include the stop value in the array by using arrayrange? > Say: > arrayrange(0,10,1.0,Float) > [ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.,] > but I want 10 to be included 1. arrayrange() is a deprecated name. arange() is the preferred name. 2. However,

[Matplotlib-users] How do I include the stop value in the array by using arrayrange?

2006-11-17 Thread zhangh1
Hi,all: How do I include the stop value in the array by using arrayrange? Say: arrayrange(0,10,1.0,Float) [ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.,] but I want 10 to be included Thanks - Take Surveys. Earn Cash. Influence th

[Matplotlib-users] method for embedding a plot in wx

2006-11-17 Thread Emmanuel Favre-Nicolin
Hi, I didn't get the way to embed a plot where I wish it to be, for example inside a panel or a sizer? I did the following : I create a panel panel_4 which is where I'd like to get the plot, I create a sizer sizer_8 in it and try to load the plot but the plot does not show. I don't know how to

[Matplotlib-users] ok to ignore warning on first import?

2006-11-17 Thread Alan Isaac
The first time I "import pylab" after installing matplotlib I get many warnings (below). This is 0.87.7 under Python 2.5. Is ignoring these the right thing to do? (I seem to be up and running.) Alan Isaac Warning (from warnings module): File "/Library/Frameworks/Python.framework/Versions/2.5

[Matplotlib-users] method for embedding a plot in wx

2006-11-17 Thread Emmanuel Favre-Nicolin
Hi, I didn't get the way to embed a plot where I wish it to be, for example inside a panel or a sizer? I did the following : I create a panel panel_4 which is where I'd like to get the plot, I create a sizer sizer_8 in it and try to load the plot but the plot does not show. I don't know how to s

[Matplotlib-users] method for embedding a plot in wx

2006-11-17 Thread Emmanuel
Hi, I didn't get the way to embed a plot where I wish it to be, for example inside a panel or a sizer? I did the following : I create a panel panel_4 which is where I'd like to get the plot, I create a sizer sizer_8 in it and try to load the plot but the plot does not show. I don't know how to s

Re: [Matplotlib-users] subplot problems using comma notation

2006-11-17 Thread Eric Firing
Marius 't Hart wrote: > Using the advice from Seweryn Kokot I was able to install matplotlib > 0.87.7-0, but this resulted in all sorts of errors instead of a graph. > I'll just make do with matplotlib 0.82-5 for now. > Thanks for your advice! > Marius. That is probably because you installed a mat

Re: [Matplotlib-users] subplot problems using comma notation

2006-11-17 Thread Eric Firing
I would encourage anyone running linux to simply build matplotlib from the latest release tarball. It's easy. You may need to install some devel packages first, but once you have stumbled over the missing bits and installed them, then forever after you can very easily update to the latest ver

Re: [Matplotlib-users] strange numerix default issue

2006-11-17 Thread Eric Firing
Peter Bienstman wrote: > Hi, > > When I don't use a matplotlibrc file, the default numerix choice is numpy, > which is OK. I think that what is actually happening here is a system-wide matplotlibrc file is being found and is providing the numpy value. > > When I have a matplotlibrc, and I spe

Re: [Matplotlib-users] subplot problems using comma notation

2006-11-17 Thread Marius 't Hart
Using the advice from Seweryn Kokot I was able to install matplotlib 0.87.7-0, but this resulted in all sorts of errors instead of a graph. I'll just make do with matplotlib 0.82-5 for now. Thanks for your advice! Marius. Josh Lifton schreef: > Unfortunately, 0.87-5 is only available in the 6.10 (

[Matplotlib-users] strange numerix default issue

2006-11-17 Thread Peter Bienstman
Hi, When I don't use a matplotlibrc file, the default numerix choice is numpy, which is OK. When I have a matplotlibrc, and I specify "numerix : numpy", everything also behaves as expected. However, when I have a matplotlibrc, but one which does not contain a 'numerix' statement, then my old

Re: [Matplotlib-users] Backend

2006-11-17 Thread Charlie Moad
On 11/17/06, Asheesh Laroia <[EMAIL PROTECTED]> wrote: > On Fri, 17 Nov 2006, Timothy Wu wrote: > > > Must matplot be run with a backend installed suppose I only want to > > create a command line program and create plot and output as gif/jpg/png? > > Try the plain "Agg" backend rather than e.g. GTK

Re: [Matplotlib-users] subplot problems using comma notation

2006-11-17 Thread Josh Lifton
Unfortunately, 0.87-5 is only available in the 6.10 (Edgy) repositories, so we'll have to upgrade to 6.10, request that matplotlib be backported to 6.06, or find a non-Ubuntu repository from which to install the latest matplotlib package. I plan on upgrading sometime soon, so I'll wait for that.

Re: [Matplotlib-users] subplot problems using comma notation

2006-11-17 Thread Marius 't Hart
I have the same symptoms on my Ubuntu 6.06 using python 2.4 and matplotlib 0.82-5. Where did you find matplotlib 0.87-5 though? It's not in the repositories as far as I can tell. I use synaptic for upgrading. Josh Lifton schreef: > Thanks for confirming that it works on another system. As I'm cur

Re: [Matplotlib-users] subplot problems using comma notation

2006-11-17 Thread Seweryn Kokot
Marius 't Hart <[EMAIL PROTECTED]> writes: > I have the same symptoms on my Ubuntu 6.06 using python 2.4 and > matplotlib 0.82-5. Where did you find matplotlib 0.87-5 though? It's not > in the repositories as far as I can tell. I use synaptic for upgrading. Add the following line to your /etc/apt

[Matplotlib-users] Create plots in functions, plot later

2006-11-17 Thread Roman Bertle
Hello, i try to write a module which evaluates various Data, and occasionally creates a plot, which is returned to the user. At the discretion of the user, he should be able to show selected plots. This is an example module with two approaches for this problem: - import pylab impo

Re: [Matplotlib-users] Backend

2006-11-17 Thread Asheesh Laroia
On Fri, 17 Nov 2006, Timothy Wu wrote: > Must matplot be run with a backend installed suppose I only want to > create a command line program and create plot and output as gif/jpg/png? Try the plain "Agg" backend rather than e.g. GTKAgg or TkAgg. -- Asheesh. -- Ask not for whom the Bell tolls,

[Matplotlib-users] Backend

2006-11-17 Thread Timothy Wu
Must matplot be run with a backend installed suppose I only want to create a command line program and create plot and output as gif/jpg/png? Because import is giving me errors seemingly in reference to x server: from pylab import * Traceback (most recent call last): File "", line 1, in ? Fil