don't make functions within a loop
don't make functions within a loop; I mistake the file to fix
Merge pull request #33 from furushchev/fix-rwt-plot

Fix rwt plot