Thread Subject: annoying popup clustergram

Subject: annoying popup clustergram

From: Duke Ng

Date: 4 Feb, 2010 21:52:04

Message: 1 of 3

Hello,

I am using Matlab R2009b with Bioinformatics Toolbox, and I try to create a program that print out the clustergram to an image. Here is what I did:

c = clustergram(data);
fig = figure;
plot(c, fig);
print(fig,'-dpng',name);

The code runs just fine. Now I want the code to run *silently*, so I did

c = clustergram(data);
fig = figure;
set(fig,'visible','off');
plot(c, fig);
print(fig,'-dpng',name);
delete(c);
close(fig);

Everything looks good, except the clustergram. When I loop the code with different data sets, the clustergram keeps poping up annoyingly and harasses my other works on the screen.

Everyone knows how to set clustergram *invisible*, or any other idea of better printing clustergram to image without showing that clustergrams?

Thanks,

D.

Subject: annoying popup clustergram

From: Lucio Cetto

Date: 5 Feb, 2010 14:48:04

Message: 2 of 3

Duke:
I am afraid this is not currently possible, as far as I know (I could be proven wrong), I will pass your request to the dev group.
Lucio

"Duke Ng" <duke.lists@gmx.com> wrote in message <hkffi4$np4$1@fred.mathworks.com>...
> Hello,
>
> I am using Matlab R2009b with Bioinformatics Toolbox, and I try to create a program that print out the clustergram to an image. Here is what I did:
>
> c = clustergram(data);
> fig = figure;
> plot(c, fig);
> print(fig,'-dpng',name);
>
> The code runs just fine. Now I want the code to run *silently*, so I did
>
> c = clustergram(data);
> fig = figure;
> set(fig,'visible','off');
> plot(c, fig);
> print(fig,'-dpng',name);
> delete(c);
> close(fig);
>
> Everything looks good, except the clustergram. When I loop the code with different data sets, the clustergram keeps poping up annoyingly and harasses my other works on the screen.
>
> Everyone knows how to set clustergram *invisible*, or any other idea of better printing clustergram to image without showing that clustergrams?
>
> Thanks,
>
> D.

Subject: annoying popup clustergram

From: Praisan Padungweang

Date: 24 Jul, 2011 15:17:08

Message: 3 of 3



close all hidden



"Duke Ng" <duke.lists@gmx.com> wrote in message <hkffi4$np4$1@fred.mathworks.com>...
> Hello,
>
> I am using Matlab R2009b with Bioinformatics Toolbox, and I try to create a program that print out the clustergram to an image. Here is what I did:
>
> c = clustergram(data);
> fig = figure;
> plot(c, fig);
> print(fig,'-dpng',name);
>
> The code runs just fine. Now I want the code to run *silently*, so I did
>
> c = clustergram(data);
> fig = figure;
> set(fig,'visible','off');
> plot(c, fig);
> print(fig,'-dpng',name);
> delete(c);
> close(fig);
>
> Everything looks good, except the clustergram. When I loop the code with different data sets, the clustergram keeps poping up annoyingly and harasses my other works on the screen.
>
> Everyone knows how to set clustergram *invisible*, or any other idea of better printing clustergram to image without showing that clustergrams?
>
> Thanks,
>
> D.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com