plot function for threeness data