add create and plot nodes in matlab