I have a GUI with different axes. I wan to be able to change colormaps when I want and for the axes I want.
The idea is to use something as
However, this only works for the last generated axes in the GUI Figure. If I try to pass an axes handle I just get the error:
Function IMCOLORMAPTOOL expected its first input argument, HCLIENT, to be a handle of one of these types:
Instead, its type was: axes.
Is there a way of doing what I want?
Coloprmap is a property of Figure. Thus, all axes of a figure share the same colormap at any point in time. imcolormaptool helps you change the colormap of a figure - and all its child-axes.