modified time frequency plotting to return figure handle