add a window option to traceplot