Add a plotting window