On 05/19/2010 11:31 PM, Christer Malmberg wrote:
> Thank you for the help, I never knew what the symlog flag did actually.
>
> However, there is still a slight problem:
>
> =
> x = array([0,1,2,4,6,9,12,24])
> y = array([100, 50, 10, 1
Ok, good, I just wanted to do a sanity check.
On Thu, May 20, 2010 at 9:21 AM, Michael Droettboom wrote:
> In this case, yes. The assumption of these (private) functions is that
> x will be non-negative. The only case where we need to worry about log
> raising an exception is with exactly 0.
>
In this case, yes. The assumption of these (private) functions is that
x will be non-negative. The only case where we need to worry about log
raising an exception is with exactly 0.
Mike
On 05/20/2010 10:08 AM, Benjamin Root wrote:
> Do we really want to depend on a floating point equality?
>
Do we really want to depend on a floating point equality?
Ben Root
On Thu, May 20, 2010 at 9:02 AM, Michael Droettboom wrote:
> Yep. That's a bug. Here's a patch to fix it:
>
> ndex: lib/matplotlib/ticker.py
> ===
> --- lib/matpl
Yep. That's a bug. Here's a patch to fix it:
ndex: lib/matplotlib/ticker.py
===
--- lib/matplotlib/ticker.py(revision 8323)
+++ lib/matplotlib/ticker.py(working copy)
@@ -1178,16 +1178,21 @@
def decade_down(x, base=10):
Thank you for the help, I never knew what the symlog flag did actually.
However, there is still a slight problem:
=
x = array([0,1,2,4,6,9,12,24])
y = array([100, 50, 10, 100, 5, 1, 1, 1])
subplot(111)
plot(x, y)
yscale('symlog')
xsc
On 05/19/2010 10:28 AM, Benjamin Root wrote:
> Maybe I am misunderstanding your problem, but you can select 'semilog'
> for the x/yscale parameter.
You mean "symlog".
See
http://matplotlib.sourceforge.net/examples/pylab_examples/symlog_demo.html
Although the example doesn't show it, the axis li
Maybe I am misunderstanding your problem, but you can select 'semilog' for
the x/yscale parameter.
Ben Root
On Wed, May 19, 2010 at 7:03 AM, Christer Malmberg <
christer.malmberg.0...@student.uu.se> wrote:
> Hi,
>
> my problem is that I need a graph with a discontinous y-axis. Let me
> explain t
Hi,
my problem is that I need a graph with a discontinous y-axis. Let me
explain the problem: in my field (microbiology) the data generated
from for example growth assays have a huge range (10^0-10^9), which
has to be plotted on a semilogy style plot (cell concentration vs.
time). The prob