make clustergram without printing

1 Ansicht (letzte 30 Tage)
cmo
cmo am 23 Apr. 2015
Beantwortet: yi li am 29 Sep. 2018
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.

Antworten (2)

Ahmet Cecen
Ahmet Cecen am 23 Apr. 2015
Try starting MATLAB with:
matlab -noFigureWindows
  4 Kommentare
cmo
cmo am 24 Apr. 2015
Good idea. I had tried that as well. it didn't help, surprisingly
Ahmet Cecen
Ahmet Cecen am 24 Apr. 2015
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?

Melden Sie sich an, um zu kommentieren.


yi li
yi li am 29 Sep. 2018
Amazing! It is useful!

Community Treasure Hunt

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

Start Hunting!

Translated by