make clustergram without printing

1 次查看(过去 30 天)
cmo
cmo 2015-4-23
回答: yi li 2018-9-29
My script makes hundreds of clustergrams. Each time the "clustergram" function is called, it makes a figure window, which "pops up" and "steals the focus" of my computer (i.e. interrupts me while i am working on something else).
How can I plot a clustergram without making the figure?
With standard linear line plots, you just have to specify "figure('visibility', 'off');"
This does not work for clustergrams.

回答(2 个)

Ahmet Cecen
Ahmet Cecen 2015-4-23
Try starting MATLAB with:
matlab -noFigureWindows
  4 个评论
cmo
cmo 2015-4-24
Good idea. I had tried that as well. it didn't help, surprisingly
Ahmet Cecen
Ahmet Cecen 2015-4-24
Wow, it must be a UNIX thing then, because I tried it on 2 different versions and it works for me. Not sure what else I can suggest.
Are you sure you are not accidentally using the built in clustergram? Change the name of the function I attached, like clustergram2 and try again?

请先登录,再进行评论。


yi li
yi li 2018-9-29
Amazing! It is useful!

类别

Help CenterFile Exchange 中查找有关 Expression Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by