[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info
Subject:    Re: [Gnuplot-info] All  points y value undefined...
From:       Hans-Bernhard_Bröker <HBBroeker () t-online ! de>
Date:       2009-02-11 19:36:25
Message-ID: 499328B9.8060906 () t-online ! de
[Download RAW message or body]

Julien Derr wrote:
> Hi everyone,
> I am trying to plot the gamma function, and have this error message....
> 
> gnuplot> plot 0.6*gamma(101)*gamma(100.6-x)/ 
> (gamma(100+0.6+1)*gamma(100-x+1))
>                                                                               ^
>           all points y value undefined!
> 

What was the x range?  What version of gnuplot ("show version long" 
output would be nice) is this?

> I can't believe this is not defined ! 

It very well might be.  Let me show you why:

gnuplot> print gamma(101)
9.33262154439422e+157
gnuplot> print gamma(101)**2

gnuplot> print gamma(101)**2
                ^
          undefined value

gamma is a *rapidly* growing function, and your computer has a finite 
range of values it can represent.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Gnuplot-info mailing list
Gnuplot-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic