timeformat to posixct

add new plot function