Memory plot final version