rmed a plot