[Matplotlib-users] invisible plot

2009-07-15 Thread Dr. Phillip M. Feldman
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

Re: [Matplotlib-users] invisible plot

2009-07-15 Thread Ryan May
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=

Re: [Matplotlib-users] invisible plot

2009-07-15 Thread Robert Kern
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

Re: [Matplotlib-users] invisible plot

2009-07-15 Thread Eric Firing
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),

Re: [Matplotlib-users] invisible plot

2009-07-15 Thread Alan G Isaac
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

Re: [Matplotlib-users] invisible plot

2009-07-15 Thread Damon McDougall
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: