In addition to examining the actual values or creating line plots, you can get a lot of insight by visualizing data with color. MATLAB has a number of functions that let you represent your data with color, including image, surf, mesh, and contourf. Many of these functions make use of a colormap that represents a range of colors for the values.
Patrick's colormouse allows you to change the colormap range interactively using the mouse. Calling colormouse adds a toolbar button to the current figure.
Once you're in colormouse mode, you can click-n-drag to move (by moving the mouse up and down) or widen/narrow (left and right) the color range.
You can also select a specific colormap from a context menu.
Note that the actual sourcecode resides on GitHub, so please check the GitHub page for the license information.
要发表评论，请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。