This program is used to draw positive functions:

For example:

awk 'BEGIN{for(x=0;x<100;x++) { print x " " 100*rand() " " 100*(rand()*rand())  }}' | 8.out -t 'awk rand() distribution' -s 0 -e 100 -m 120 -v x,'rand()','rand()^2' | topng > sample.png

to compile:

8.c drawvars.c
8l drawvars.8

-t string - will be the title used in the graphic
-s integer - this is the minimum x value
-e ingefer - this is the maximun x value
-m integer - this is the maximun y value
-v var1,var2, etc - the list of vars to be displayed on the image

