The following Matlab project contains the source code and Matlab examples used for matlab plot gallery using colorbars (1). This is an example of how to add a vertical colorbar to a plot in MATLAB®. Read about the "colorbar" 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.