test cell array as text image
replace isrow for old matlab versions
rebase with new change