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:
>
> 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 message in context: 
> http://www.nabble.com/invisible-plot-tp24506682p24506682.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to