adding a function for the 2d plot document-topic metric