added a function for plotting TsQSets