demo_norcdf.f90 Source File


Source Code

     program demo_norcdf
     !@(#) line plotter graph of cumulative distribution function
     use M_datapac, only : norcdf, plott, label
     implicit none
     real,allocatable  :: x(:), y(:)
     integer           :: i
        call label('norcdf')
        x=[(real(i),i=-100,100,1)]
        if(allocated(y))deallocate(y)
        allocate(y(size(x)))
        do i=1,size(x)
           call norcdf(x(i)/10.0,y(i))
        enddo
        call plott(x,y,size(x))
     end program demo_norcdf