scripts: improve script that plots actor profiles

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>