COLORBAR Add Colorbar to Current Plot
Section: Handle-Based Graphics
UsageThere are a number of syntaxes for the
colorbarcommand. The first takes no arguments, and adds a vertical colorbar to the right of the current axes.
You can also pass properties to the newly created axes object using the second syntax for colorbar