modified plot tool