dealing with CD triplots and related issues