/* ** DrawCdf ** ** Purpose: ** Display a Cdf plot ** ** Date: ** 24/9/08 ** ** Author: ** Charles Bos */ #include #include #include main() { decl mX; mX= ranchi(1, 10000, 5); // Get rid of enhanced plotting // SetDraw(SET_FONT, -1, -1, 0); DrawCdf(0, mX, "Chi^2(5)", 5); SaveDrawWindow("graphs/drawcdf.png"); ShowDrawWindow(); }