[Matplotlib-users] graphical graph - how to

2014-07-29 Thread Josè Luis Mietta
Hi experts! I have: * a list of Q 'NODES'=[(x,y)_1,, (x,y)_Q], where each element (x,y) represent the spatial position of the node in 2D Cartesian space. * a matrix 'H' with QxQ elements {H_k,l}. H_k,l=0 if nodes 'k' and 'l' aren't joined by a edge, and H_k,l = the length of the edge

Re: [Matplotlib-users] graphical graph - how to

2014-07-29 Thread Oliver
The solution below is maybe not optimal, but it's something you can figure out easily enough yourself. Also, I believe this question is better asked on stackoverflow as it is not an actual matplotlib issue, but rather a programming problem (that shows no effort). Let me first redefine your

[Matplotlib-users] Basic matshow question

2014-07-29 Thread JBB
Hello, I am relatively new to Python, numpy, matplotlib, etc., with a reasonable amount of Matlab experience. I am trying to do some simple array visualizations before moving on to specific work. e.g. I have a 5x5x10 array and I'd like to see each 5x5 piece as a frame with a short pause in

Re: [Matplotlib-users] Basic matshow question

2014-07-29 Thread Eric Firing
On 2014/07/29, 7:04 PM, JBB wrote: Hello, I am relatively new to Python, numpy, matplotlib, etc., with a reasonable amount of Matlab experience. I am trying to do some simple array visualizations before moving on to specific work. e.g. I have a 5x5x10 array and I'd like to see each 5x5