plotting improvement