A pull request would be welcome. Note that we already have the symlog scale http://matplotlib.org/examples/pylab_examples/symlog_demo.html?highlight=symlog which is essentially a logscale with a linear fraction in the centre. As I understand this it is not quite the same but useful for a different purpose
Jens On Mon, Nov 3, 2014 at 12:04 PM, Pierre Haessig <pierre.haes...@crans.org> wrote: > Hi Fabio, > > Le 03/11/2014 11:41, Fabio Zanini a écrit : > > I've been using matplotlib with great satisfaction for a few years, but > > one feature I've been missing is a "logit" scale. This is essentially a > > nonlinear scale that is log both towards 0+ and log towards 1-. > > Nice coincidence, I was also playing with this idea back in April. > http://nbviewer.ipython.org/gist/pierre-haessig/7e3e6a818edeb6819708 > > I was actually wondering whether this could interest other people in > other fields... > > best, > Pierre > > > It is > > useful when one has frequencies in a population (i.e. floats between 0 > > and 1) and both rare events and very common ones are interesting. > > > > For instance, say you ask about the fraction of people with blue eyes in > > various world populations, you want to spot even tiny deviations from > > zero or one. > > > > I have coded a scale according to matplotlib's documentation and it > > works well, so I was wondering whether you are interested into merging > > it into the the main repository. I think it'd be useful because lots of > > people have such frequency data, especially now that matplotlib is > > becoming popular in the biology/social sciences research communities. > > > > If there is interest, I'll just start a pull request on github and try > > to adapt the code to your coding style. It's already PEP8 and similia. > > > > Thanks. Cheers, > > Fabio > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >
------------------------------------------------------------------------------
_______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel