Code for nmax/npts, nmax/size graphs