[Matplotlib-users] quiver and Inf values

2009-02-13 Thread jason-sage
A student of mine recently noticed that sometimes, quiver plots were coming up empty (using the plot_vector_field function from Sage, which passes everything on to quiver). Upon investigation, we saw that some of the array entries passed in were infinity because of where we happened to

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 12:08 PM, jason-s...@creativetrax.com wrote: A student of mine recently noticed that sometimes, quiver plots were coming up empty (using the plot_vector_field function from Sage, which passes everything on to quiver). Upon investigation, we saw that some of the array

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread Eric Firing
Ryan May wrote: On Fri, Feb 13, 2009 at 12:08 PM, jason-s...@creativetrax.com mailto:jason-s...@creativetrax.com wrote: A student of mine recently noticed that sometimes, quiver plots were coming up empty (using the plot_vector_field function from Sage, which passes

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread jason-sage
Eric Firing wrote: Ryan May wrote: On Fri, Feb 13, 2009 at 12:08 PM, jason-s...@creativetrax.com mailto:jason-s...@creativetrax.com wrote: A student of mine recently noticed that sometimes, quiver plots were coming up empty (using the plot_vector_field function from Sage, which

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 2:30 PM, jason-s...@creativetrax.com wrote: Eric Firing wrote: Ryan May wrote: On Fri, Feb 13, 2009 at 12:08 PM, jason-s...@creativetrax.com mailto: jason-s...@creativetrax.com wrote: A student of mine recently noticed that sometimes, quiver plots were

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread jason-sage
Ryan May wrote: Try changing your plot limits. :) pylab.xlim(-3,3) pylab.ylim(-3,3) Aha! Perfect; thank you! I'll fix this in Sage now... Jason -- Open Source Business Conference (OSBC), March 24-25,