code: public void removeScatterPlot(String scatterID) throws ShanksException {
          Scenario2DPortrayal scenarioPortrayal = (Scenario2DPortrayal) this
                  .getSimulation().getScenarioPortrayal();
          scenarioPortrayal.removeScatterPlot(scatterID);
      }
docs: Remove a Scatter plot from the simulation
  
  @param scatterID
  - The name of the Scatter Plot
  @throws DuplicatedPortrayalIDException
  @throws ScenarioNotFoundException