Clip example graph to window