grafics plotting applied at last