new plot rutine