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

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com