Try to cast tsplot data to array