Matlab: A simple script to plot a graph