draw line from specified array