WIP: refactor plotting the dynamic data.