length plot