bug fix
bug fix
rewrite the matlab lib function treeplot.