an example with triangle plot