plot_id=0
active_plots = plot2d.ActivePlots()
for pl in active_plots:
utils.MetaCommand('xyplot plotdeactive "'+pl.window_name+'" '+str(pl.id))
utils.MetaCommand('xyplot plotactive "'+wname+'" '+str(plot_id))
plot2d.ActivePlots() 获得当前所有活跃的窗口