to figure

How to convert a clustergram to a Matlab figure window

Problem: <print to figure> bottom is removed in latest Matlab version

Solution:

% create clustergram object "cgo"

cgo = clustergram(data)

% plot clustergram as normal figure

plot(cgo)

https://mathworks.com/help/bioinfo/ref/plotclustergram.html