I'm a newbie to matplotlib. When I try to generate a simple plot, nothing
happens. Any advice will be appreciated. Here's my code:
from numpy import *
from matplotlib import *
x= arange(0,10.,0.1)
y= x**1.5 - 0.25*x**2
pyplot.figure(figsize=(9, 6), dpi=120)
pyplot.plot(x, y)
--
View this
On Wed, Jul 15, 2009 at 4:58 PM, Dr. Phillip M. Feldman
pfeld...@verizon.net wrote:
I'm a newbie to matplotlib. When I try to generate a simple plot, nothing
happens. Any advice will be appreciated. Here's my code:
from numpy import *
from matplotlib import *
x= arange(0,10.,0.1)
y=
On 2009-07-15 16:58, Dr. Phillip M. Feldman wrote:
I'm a newbie to matplotlib. When I try to generate a simple plot, nothing
happens. Any advice will be appreciated. Here's my code:
from numpy import *
from matplotlib import *
x= arange(0,10.,0.1)
y= x**1.5 - 0.25*x**2
Dr. Phillip M. Feldman wrote:
I'm a newbie to matplotlib. When I try to generate a simple plot, nothing
happens. Any advice will be appreciated. Here's my code:
from numpy import *
from matplotlib import *
x= arange(0,10.,0.1)
y= x**1.5 - 0.25*x**2
pyplot.figure(figsize=(9, 6),
On 7/15/2009 5:58 PM Dr. Phillip M. Feldman apparently wrote:
I'm a newbie to matplotlib. When I try to generate a simple plot, nothing
happens. Any advice will be appreciated. Here's my code:
from numpy import *
from matplotlib import *
x= arange(0,10.,0.1)
y= x**1.5 - 0.25*x**2
Hi Phillip,
Don't you need to call
pyplot.show()
at the end of the script?
Regards,
--Damon
On 15 Jul 2009, at 22:58, Dr. Phillip M. Feldman wrote:
I'm a newbie to matplotlib. When I try to generate a simple plot,
nothing
happens. Any advice will be appreciated. Here's my code: