finished graphing, also dynamic screen scale