modification of DFA plot

multiple DFA plots can now be made within a loop without some components
disappearing