This enhancement has been incorporated in Release 2009b (R2009b). For previous product releases, read below for any possible workarounds:
To modify the properties of the clustergram figure, it is necessary to create a figure out of the clustergram and manipulate the figure properties. This can be done interactively or programmatically.
To perform the steps interactively:
1. Go to the menu bar of the clustergram object and navigate to File->Print to Figure. This will create a figure object whose properties you can modify.
2. Click on the arrow pointer tool and double click on the object in the figure window that you wish to modify. Or, on the Menu bar of the new figure, select the Edit menu, and then select the object whose properties you wish to modify.
3. In the Property Editor that opens up, edit the desired properties or choose "More Properties" to see additional properties.
For more information on using the property editor, open the MATLAB documentation by typing 'doc' at the MATLAB command prompt. Then navigate to:
MATLAB->Graphics->Plots and Plotting Tools->Plotting Tools - Interactive Plotting->Property Editor
To make the changes programmatically it is necessary to grab a handle to to the figure associated with the clustergram and then manipulate the figure properties. The following code demonstrates how to obtain the figure handle:
First, make all handles visible. This is necessary because clustergram objects are created with 'HandleVisibility' property set to 'off':
Then, get all handles under the root object:
allhnds = get(0,'Children');
Find the handles that correspond to clustergram objects
cgfigidx = strmatch('Clustergram',get(allhnds,'Tag'));
cffighnd = allhnds(cgfigidx);
Make the non-visible handles hidden again
Finally, if there is more than one clustergram object, operate on the last one in the list.
warning('More than one clustergram handle found. Using most recent clustergram')
cffighnd = cffighnd(end);
It is now possible to modify the figure properties using the figure SET command.