On 20 February 2012 07:08, surfcast23 wrote:
>
> Hi I wrote the following script, but it hangs right after plt.show(). I would
> really appreciate it if someone could take a look and let me know where I'm
> messing up. Thanks in advance
Your script works fine for me. It's just that on the first p
On 02/19/2012 07:46 PM, Khary Richardson wrote:
> Hi Eric,
>
>Ok I guess I have a bigger problem. The plot window opens,but nothing
> is plotted. I thought that the blank window was because the code was
> hanging and not plotting. I had it work once and plot, but now I just
> get the blank wind
On 02/19/2012 07:08 PM, surfcast23 wrote:
>
> Hi I wrote the following script, but it hangs right after plt.show(). I would
> really appreciate it if someone could take a look and let me know where I'm
> messing up. Thanks in advance
That's what show() does in a script--it displays the plot and bl
Hi I wrote the following script, but it hangs right after plt.show(). I would
really appreciate it if someone could take a look and let me know where I'm
messing up. Thanks in advance
from numpy import *
import matplotlib.pyplot as plt
#H=p^2/2-cosq
#p=dp=-dH/dq
#q=dq=dH/dp
t = 0
h = 0.5
pfa =