The following Matlab project contains the source code and Matlab examples used for matlab plot gallery line plot 2d (2). This is an example of how to create an line plot with legend in MATLAB®. Read about the "plot" function in the MATLAB® documentation. Go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.