modified plotting