You problem isn't with colon indexing, but with the interpretation of the
arguments to plot. multiple calls to plot with scalar arguments do not have
the same result as a single call with array arguments. For this to work as
intended, you would need plt.hold(True), for starters, and maybe there
By default, the hold is already True. In fact, that might explain some of
the differences in what you are seeing. There are more points in the second
image than in the first one, so I wonder if you are seeing some leftovers
of previous plot commands?
One issue I do see is that the slicing is
On Do, 2014-05-01 at 09:45 -0400, Benjamin Root wrote:
By default, the hold is already True. In fact, that might explain some
of the differences in what you are seeing. There are more points in
the second image than in the first one, so I wonder if you are seeing
some leftovers of previous
Thanks all for your help!
i will try
bye ;-)
- Original Message -
From: Sebastian Berg
Sent: 05/01/14 03:54 PM
To: numpy-discussion@scipy.org
Subject: Re: [Numpy-discussion] arrays and : behaviour
On Do, 2014-05-01 at 09:45 -0400, Benjamin Root wrote: By default, the hold
is already
thanks, it works well
see you and thanks again
- Original Message -
From: Sebastian Berg
Sent: 05/01/14 03:54 PM
To: numpy-discussion@scipy.org
Subject: Re: [Numpy-discussion] arrays and : behaviour
On Do, 2014-05-01 at 09:45 -0400, Benjamin Root wrote: By default, the hold