[Matplotlib-users] positions and scientific notations of ticks

2012-05-04 Thread stecue
Hi, I'm plotting figures for a series of data set and I want to keep the looking consistent with each other. Currently I'm using MaxNLocator and ScalarFormatter but still, 1. Is there a way to limit the minimum number of ticks for MaxNLocator? Currently, if I set nbins=5, the number of ticks v

[Matplotlib-users] output of mlab cohere_pairs vs. cohere

2012-05-04 Thread Barrett Heyneman
I need to compute coherence between a bunch of different signals, for a bunch of different trials, and it seems like cohere_pairs() is exactly what I should use. However, I'm a little confused about the output. If I use cohere() to produce the coherence values for two signals, I get an array of c

Re: [Matplotlib-users] how to set set default figure format for interactive figures?

2012-05-04 Thread Chao YUE
Hi Ben, I search for keyword 'format' and don't find relevant issue. So I add one. cheers, Chao 2012/5/4 Benjamin Root > > > On Fri, May 4, 2012 at 9:11 AM, Chao YUE wrote: > >> Dear all, >> >> I use the default GTKAgg backend. When I explore the figure in >> interactive mode, I find a list

[Matplotlib-users] customised linestyle?

2012-05-04 Thread Chao YUE
Dear all, Is it possible to have a customized linestyle for line plots? such as I want '--.--.--.' or '-*-*-*' or others. I read the documentation part of set_drawstyle and a post here: http://old.nabble.com/Changing-the-Dash-Spacing--td33381003.html#a33381003 but still not clear. Could anyone g

Re: [Matplotlib-users] how to set set default figure format for interactive figures?

2012-05-04 Thread Benjamin Root
On Fri, May 4, 2012 at 9:11 AM, Chao YUE wrote: > Dear all, > > I use the default GTKAgg backend. When I explore the figure in interactive > mode, I find a list of formats to select for the figure format. > But the default one is .png, so how can I change to .jpg? > > In [7]: mat.get_backend() >

[Matplotlib-users] how to set set default figure format for interactive figures?

2012-05-04 Thread Chao YUE
Dear all, I use the default GTKAgg backend. When I explore the figure in interactive mode, I find a list of formats to select for the figure format. But the default one is .png, so how can I change to .jpg? In [7]: mat.get_backend() Out[7]: 'GTKAgg' thanks et cheers, Chao -- **

Re: [Matplotlib-users] Pixel marker - colour problem

2012-05-04 Thread Warren Weckesser
On Fri, May 4, 2012 at 5:44 AM, Cumberland, Burly < burly.cumberl...@coherent.com> wrote: > Hi, > > Just recently upgraded to Matplotlib 1.1.0 from 1.0.1. I make significant > use of the pixel marker in plot. For instance: > > plt.plot(self.dat.duration, self.dat.fmpwr, 'b,', label="Power"

[Matplotlib-users] Pixel marker - colour problem

2012-05-04 Thread Cumberland, Burly
Hi, Just recently upgraded to Matplotlib 1.1.0 from 1.0.1. I make significant use of the pixel marker in plot. For instance: plt.plot(self.dat.duration, self.dat.fmpwr, 'b,', label="Power", markevery= self.skip) I've found that since upgrading all my plots appear to be black now if they us

Re: [Matplotlib-users] netcdf4-python

2012-05-04 Thread Arnaldo Russo
Hi John, Have you tried pupynere module? http://pypi.python.org/pypi/pupynere/ https://bitbucket.org/robertodealmeida/pupynere/ [ ] --- *Arnaldo D'Amaral Pereira Granja Russo* Lab. de Estudos dos Oceanos e Clima Instituto de Oceanografia - FURG 2012/5/4 John > Hello, > > I'm working with t

Re: [Matplotlib-users] the coding_guide page

2012-05-04 Thread Michael Droettboom
Thanks for spotting this. Done. On 05/03/2012 07:28 PM, Pengkui Luo wrote: It may be a minor one, but can the web manager delete the last sentence on this page? It is the same as the previous sentence... http://matplotlib.sourceforge.net/devel/coding_guide.html ~Pengkui -

[Matplotlib-users] netcdf4-python

2012-05-04 Thread John
Hello, I'm working with the latest netcdf4-python (svn updated recently). It has been built with the Netcdf 4.1.1 and HDF 4.2.5 and HDF5 1.8.5 patch libraries. The installation is on Ubuntu 64bit 10.04 LTS. I get some very strange behavior when trying to read a file, which actually causes Ipython

Re: [Matplotlib-users] Documentation

2012-05-04 Thread Michael Droettboom
On 05/03/2012 04:31 PM, Ignas Anikevicius wrote: > Dear Michael, > > Sorry for such a lengthy email, but I wanted to ask about dependencies > as well. I am trying to get python and py3k versions of matplotlib > working. In addition to this I am trying to do this with git/master > version. I can bui

Re: [Matplotlib-users] symlog linear to log transition plot position?

2012-05-04 Thread David Erickson
On 5/3/2012 7:01 AM, Michael Droettboom wrote: On 05/03/2012 09:48 AM, Benjamin Root wrote: On Wed, May 2, 2012 at 3:59 PM, David Erickson > wrote: On 5/1/2012 5:41 AM, Benjamin Root wrote: On Tue, May 1, 2012 at 6:42 AM, David Erickson mailto:der