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