matlab file for graphs