changing the matlab command to allow plot creation from command line