Thread Subject: seqlogo: how save to color eps

Subject: seqlogo: how save to color eps

From: Kevin Murphy

Date: 19 Jan, 2008 19:17:04

Message: 1 of 2

Hi

If I use the seqlogo command in the bioinformatics toolbox,
it makes a pretty picture, but if I select 'print + print
to file', it comes out black/white and not color. If I save
as .png and covnert to .eps in illustrator, it is very poor
quality.
How can I generate a good looking color eps file?

On a somewhat related note, how I can I make seqdisp
display characters in color? (I'm happy to hack it using
fprintf, but don't know how to do that either)

Thanks
Kevin

Subject: seqlogo: how save to color eps

From: Anh Huy Phan

Date: 19 Jan, 2008 23:22:01

Message: 2 of 2

"Kevin Murphy" <murphyk@gmail.com> wrote in message
<fmtibg$mqb$1@fred.mathworks.com>...
> Hi
>
> If I use the seqlogo command in the bioinformatics
toolbox,
> it makes a pretty picture, but if I select 'print + print
> to file', it comes out black/white and not color. If I
save
> as .png and covnert to .eps in illustrator, it is very
poor
> quality.
> How can I generate a good looking color eps file?
>
> On a somewhat related note, how I can I make seqdisp
> display characters in color? (I'm happy to hack it using
> fprintf, but don't know how to do that either)
>
> Thanks
> Kevin
>

Click mouse on your seqlogo figure, and try the following
code

%S = {'ATTATAGCAAACTA',...
% 'AACATGCCAAAGTA',...
% 'ATCATGCAAAAGGA'}
% Display the sequence logo of S
%seqlogo(S)

shohid = get(0,'ShowHiddenHandles');
set(0,'ShowHiddenHandles','on')

saveas(gcf,'seqlogo.eps','epsc')
set(0,'ShowHiddenHandles',shohid)

Then check the file 'seqlogo.eps' in the working folder.

HTH

Anh Huy Phan
RIKEN - BSI

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