Code separation + graph print in second window