probably broken, need to send xlim, ylim and filename to processing