creates graphs from latex tables in a very specific context