To define the contents of the view specify the PLOTFILE pathname with the .add() method.
To remove a PLOT from the current PLOT view, use the .clear() method. This will leave the view empty. If the user wants to replace the displayed PLOT with another one then just re-use the .add() method with the new PLOT file.