(I see I forgot to post this solution to the list. I really have
quickly developed a dislike for having to go to extra lengths to make
sure this happens. Perhaps one of my difficulties is that some people
respond directly to me, and my mail filter shuttles the message to my
matplotlib folder
Wayne Watson wrote:
The cumsum (summation) buffaloes me.
That is just to create some artificial data,
to illustrate. If you have the coordinates
in a 2 by N array named `locs`, just use the
last 2 lines. If you already have the
coordinates separated into arrays x and y,
just use the last
On 2/5/2010 12:51 AM, Wayne Watson wrote:
what I'm looking for is a way to draw a zig-zag path
indicating a path taken by a particle
Here is a 2d example:
import numpy as np
import matplotlib.pyplot as plt
locs = np.random.random_sample((2,30))
locs = np.random.random_sample((2,30))
Is there a difference between the two (Subject). Perhaps plot connects
lines in the order of x? However, scatter does not connect any points?
--
My life in two words. Interrupted Projects. -- WTW (quote originator)
--
Simply explained what I'm looking for is a way to draw a zig-zag path
indicating a path taken by a particle. Maybe this is best done with some
tools outside of the normal plot capabilities?
On 2/4/2010 9:02 PM, Wayne Watson wrote:
Is there a difference between the two (Subject). Perhaps plot
Wayne Watson wrote:
Simply explained what I'm looking for is a way to draw a zig-zag path
indicating a path taken by a particle. Maybe this is best done with some
tools outside of the normal plot capabilities?
Why doesn't plot handle this? What do you see as missing?
On 2/4/2010 9:02 PM,